answer action

Can’t find an answer?

Make use of a qualified tutor to get the answer

Zen
0
Q:

Python : add pip to path

Features

Python
python -m pip install [packagename]
3
import os
import sys
pipPath = f'{os.path.dirname(sys.executable)}\\Scripts'
os.system(f'setx PATH "%PATH%;{pipPath}"')
2
Your Answer

Tags

New to Communities?

Join the community