Answers for "add pip packages to path windows"

8

add pip to path

import os
import sys
pipPath = f'{os.path.dirname(sys.executable)}\Scripts'
os.system(f'setx PATH "%PATH%;{pipPath}"')
Posted by: Guest on June-26-2020
2

windows where are pip packages installed

#Windows
%localappdata%programspythonpython38libsite-packages
#Installed with chocolatey
C:Python38Libsite-packages
Posted by: Guest on September-08-2020

Browse Popular Code Answers by Language