-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 8.0.2 but warning about use of version 7.1.2 #3457
Comments
What does |
7.1.2, and for good measure: > python -c "import sys, pip; print(sys.path); print(pip.__file__)"
['', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/whitey-0.4-py2.7.egg', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cssselect-0.9.1-py2.7.egg', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages']
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/__init__.pyc |
So basically, you were using pip 8.0.2 in an environment where pip 7.1.2 is installed ? |
Well, okay, but then I'm rather confused on how to proceed. Requirement already up-to-date: pip in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
You are using pip version 7.1.2, however version 8.0.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command. |
What does |
> python -c "from pkg_resources import Environment;print(Environment()['pip'])"
[pip 8.0.2 (/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages), pip 7.1.2 (/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages)] |
So you have both 8.0.2 and 7.1.2 installed in the same directory? That's broken. I can't say how it happened, but it's definitely not something we'd support. |
Good enough for me, thanks! 👍 |
Cool. If you want to fix things up, you're probably best removing both versions of pip from that directory (you'll probably have to do that by hand) and reinstall with something like |
Sorry for bumping, but for the sake of future generations, how does one manually remove the offending versions of pip? |
Find the |
Not really sure what to make of this. OSX 10.9, pip installed via macports
Output is the same when called via
python -m pip
. #3433 feels related but is above my paygrade.The text was updated successfully, but these errors were encountered: