Answers for "How do I add the PATH of my pip installation to my PATH variable?"

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

Code answers related to "How do I add the PATH of my pip installation to my PATH variable?"

Browse Popular Code Answers by Language