Unable To Upgrade Pip
I wanted to install some libraries to learn machine learning. I say's that i need to upgrade pip, but when i tried to install it $ pip install --upgrade pip Collecting pip Using
Solution 1:
You have to run it with sudo unless you are using a virtualenv. The problem is that you don't have the permission to change that module. With sudo, you are giving administrator's permissions to update it.
sudo pip install --upgrade pip
Solution 2:
The Error
OSError: [Errno 13] Permission denied: '/Library/Python/2.7/site-packages/pip-8.1.2.dist-info/DESCRIPTION.rst'
showed that you are not allowed to upgrade pip as a regular user, You have to run it as sudoer
sudo pip install --upgrade pip
Solution 3:
Windows:
1) Close the current command prompt window.
2) Open it again, but as admin: right click and choose: "Run as administrator"
Linux or Unix:
Start the command with "sudo" as Tim and Haifeng mentiond.
Solution 4:
Solution 5:
ERROR: Could not find a version that satisfies the requirement upgrade (from versions: none) ERROR: No matching distribution found for upgrade
type this in cmd to upgrade:
python -m pip install -U pip
Post a Comment for "Unable To Upgrade Pip"