Answers for "python pip install path"

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
0

python global site packages

python -m site
Posted by: Guest on September-14-2020

Browse Popular Code Answers by Language