Answers for "how to install pip in path"

6

using pip windows cmd

python -m pip install <package>
Posted by: Guest on May-03-2020
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

Python Answers by Framework

Browse Popular Code Answers by Language