Reputation: 771
My Python has Pip 9.1 installed. Unfortunately, a package called Scapely has a bug and won't install. There's supposed to be a fix for Pip 10.0, but when I try to upgrade pip using "python -m pip install -U pip", but Python says "requirement already up-to-date" following this command.
Any way to install Pip 10.0 manually? Thanks!
Upvotes: 3
Views: 22083
Reputation: 114
upgrade
option is like below command.
pip install --upgrade 'pip==10'
Upvotes: 1
Reputation: 3244
Update :
Since the new version is available you can just do
pip install --upgrade pip
For a fresh install of pip 10:
MAC OS and LINUX
curl https://bootstrap.pypa.io/get-pip.py | sh
WINDOWS
Open this in browser and download using Ctrl+S
.
Open this file using file manager.
Or in windows power shell or command line:
python get-pip.py
Previous Answer:
Download this master branch from github, or you can also clone the repository.
Once inside the folder, either cloned or unziped the downloaded file:
python setup.py install
Then to verify: pip -V or
pip --version
Upvotes: 6
Reputation: 4809
A Beta release of pip version 10 is on PyPI: you can just
pip install --upgrade --pre pip
Upvotes: 3
Reputation: 66251
Until pip==10.0.0
is released, you can let pip
upgrade itself to the latest development version from its git repository:
$ pip install --upgrade git+https://github.com/pypa/pip
This way you don't have to download pip
s sources yourself, although harshil9968's answer is also correct.
Once the new version is released, just do the usual
$ pip install --upgrade pip
Upvotes: 1
Reputation: 1126
try one of theese (or both) depending on which version of python / pip you use
sudo -H pip3 install --upgrade pip
sudo -H pip2 install --upgrade pip
Upvotes: -2