Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

Python – install package without root account or pip installed

Actually, by default python is lookup ~/.local/lib/ for package, i.e. PEP-0370,

So having running following command to install pip, and package in user .local directory. Then no need to worry about whether pip or easyinstall or whatever is installed by admin beforehand.

wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py && python get-pip.py --user
cd .local/bin
./pip install <package name>--user

original post Install and use pip in a local directory without root/sudo access

PEP-0370 which describes the .local/lib directory.

Don't be the product, buy the product!