Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

install pip windows

# install system-wide windows (install python first)
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
py get-pip.py

# set path (example):
setx PATH "%PATH%;%appdata%..LocalProgramsPythonPython310Scripts"

# OR find the path and set it:
FOR /F %g IN ('dir /b %appdata%..LocalProgramsPython ^| findstr /i Python') do (SET VAR=%g) && cd %appdata%..LocalProgramsPython\%VAR%Scripts
setx PATH "%PATH%;%cd%"
 
PREVIOUS NEXT
Tagged: #install #pip #windows
ADD COMMENT
Topic
Name
3+6 =