Update packages already installed with pip in user environment (non-su)

I want to update an already installed package, but I don't have sudo privileges I couldn't do it with -I and --user alone due to permission error and lack of ez_setup.py.

procedure

Download it at hand, unzip it, and install it in the user environment with pip from the unzipped directory.

# ./tar to tmp.Download gz
pip install [package] -I --user -d ./tmp
tar zxvf ./tmp/[package].tar.gz
pip install -e ./tmp/package --user

It will be installed in ~ / .local, so let's put it in your PATH.

Recommended Posts

Update packages already installed with pip in user environment (non-su)
Get a list of packages installed in your current environment with python
Unable to import packages installed in virtual environment with Anaconda on Windows 10
Installing packages with pip3
Find out the location of packages installed with pip
Until you install TensorFlow-GPU with pip in Windows environment
[Road to intermediate Python] Install packages in bulk with pip
Bulk update with pip (with confirmation)
Can't find the package you installed with pip install --user?
Bulk update of pip packages
Pip install in proxy environment
Move what you installed with pip to the conda environment
Install Jupiter Notebook on Windows with pip in proxy environment
What to do if pip --user returns an error in a virtual environment created with pyenv
Install pip in Serverless Framework and AWS Lambda with Python environment
Remove all modules installed with pip
Uninstall everything you installed with pip
UnicodeDecodeError occurs in pip (Windows environment)
I wanted to use jupyter notebook with docker in pip environment (opticspy)
What to do if you can't install with pip in babun environment
Pip doesn't work with PyDev in Pleiades
Put TensorFlow in P2 instance with pip3
Introduced sip-4.14 in python3.2.2 environment with MacOS 10.7.4
Let's install box2d-py with Windows 10 environment pip
I installed Pygame with Python 3.5.1 in the environment of pyenv on OS X
De-VBA Excel tool! Eliminate VBA tool with Python in environment where Python cannot be installed