Skip to content Skip to sidebar Skip to footer

Pip Install Python Package For Current User

Recently I delete some files related to python 2.7 and now I'm crazy. I want to use pip to install python package for current user rather global user. ➜ ~ where pip /usr/local/b

Solution 1:

Use pip's --user option:

pip install --user package 

According to pip's documentation:

--user

Install to the Python user install directory for your platform. Typically ~/.local/, or %APPDATA%Python on Windows. (See the Python documentation for site.USER_BASE for full details.)


Post a Comment for "Pip Install Python Package For Current User"