Incompatible with pip 18.1
See original GitHub issue$ pip-faster install astpretty
Traceback (most recent call last):
File "/tmp/h/venv/bin/pip-faster", line 11, in <module>
sys.exit(main())
File "/tmp/h/venv/lib/python3.6/site-packages/pip_faster.py", line 465, in main
with pipfaster_packagefinder():
File "/tmp/h/venv/lib/python3.6/site-packages/pip_faster.py", line 448, in pipfaster_packagefinder
from pip._internal import basecommand
ImportError: cannot import name 'basecommand'
$ pip install 'pip<18.1'
Collecting pip<18.1
Using cached https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-18.0
$ pip-faster install astpretty
Collecting astpretty
slow: full search for unpinned requirement astpretty
Downloading https://files.pythonhosted.org/packages/e3/61/16a1e2e2bf6270513d90695ad0d442a3521ab790562901288ef272fdc91a/astpretty-1.4.0-py2.py3-none-any.whl
Installing collected packages: astpretty
Successfully installed astpretty-1.4.0
You are using pip version 18.0, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
pip is giving conflict error while installing package
The solution seems to be to find any directories starting with - in your site-packages directory ( /Users/tejeshagrawal/Library/Python/3.7/lib/ ...
Read more >pip 0.6.2 - PyPI
It is incompatible with some packages that customize distutils or setuptools in their setup.py files. Maybe it doesn't work on Windows.
Read more >Bug#915636: python3-virtualenv: incompatible with python3-pip 18.1
Package: python3-virtualenv Version: 15.1.0+ds-1 Followup-For: Bug #915636 Dear Maintainer, find attached my NMU .debian.tar using the updated 16.1.0 ...
Read more >Changelog - pip documentation v21.1.dev0
Fix error when an existing incompatibility is unable to be applied to a ... Requires-Python metadata to reject incompatible packages in --no-deps mode....
Read more >1651317 – pip and pipenv are incompatible - Red Hat Bugzilla
pipenv -2018.11.26-1.fc29 python-pip-18.1-1.fc29 python-shellingham-1.2.7-1.fc29 has been submitted as an update to Fedora 29.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just released 3.1.1 which should fix this?
heh, the exact opposite seems to be true for venv-update 🙃
the way pip-faster works is by patching out parts of pip. It’s unfortunately fundamentally tied to the internals of pip.
The way out would be upstreaming the interesting bits:
install --prune
: uninstall things which are no longer depended on (there’s prior art in npm, shouldn’t be too hard to convince pip, though the hard part is finding the right place to inject this feature)==
is used” – we’ve tried to upstream this and were told no: https://github.com/pypa/pip/pull/2114 – it’s possible they’ll reconsider now that the internals are rearranged and less complicated. though I wouldn’t get my hopes uppip-faster
’s checking is compatible withpip check
(and/or that there’s apip install --check
)