How to install pip locally
categories: Coding
When “easy_install –user pip” doesn’t work, do the following:
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py –user
Also add the following line to your ~/.bashrc:
For bash shell:
export PATH=$HOME/.local/bin:$PATH
or
For cshrc shell:
setenv PATH ${HOME}/.local/bin:${PATH}
Now you can install any package locally by:
pip install –user PackageName