inconsistent version for every package
See original GitHub issueDescription
Running python -m pip install <any package>
results in pip trying to downgrade versions until it runs out of them, thinking the metadata is in conflict even though they are of the same version in the error message.
Tried reinstalling python + pip on my Arch x64 already, issue persists for every package
Expected behavior
pip should install a package successfully
pip version
pip 21.0 from /usr/lib/python3.10/site-packages/pip (python 3.10)
Python version
Python 3.10.2
OS
Arch Linux
How to Reproduce
python -m pip <any package>
Output
https://asciinema.org/a/bKM5F5PidbwktgRXoEUqGbR2u
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
python - pip has problems with metadata - Stack Overflow
I'm running now: pip install -U pip and getting: (...) has inconsistent version: filename has '22.1.2', but metadata has '22.1.2' and pip goes ......
Read more >Cannot install packages with pip - error with inconsistent ...
I recently have an issue trying to install anything with pip. It keeps trying older versions complaining that each one has a version...
Read more >inconsistent version for every package issue - PythonTechWorld
Running python -m pip install <any package> results in pip trying to downgrade versions until it runs out of them, thinking the metadata...
Read more >Unable to install package using pip due to different version in ...
I've bee unable to install any package using pip due to some version issues in the metadata. But it seems to be a...
Read more >How to fix "Package is in a very bad inconsistent state" error?
8 Answers 8 · 3. Finally! This did the trick when dpkg and apt won't remove or reinstall a package · 1. Thanks....
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 FreeTop 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
Top GitHub Comments
@TomasDrozdik indeed it was some weird env edge-case, although I didn’t tinker anything with the default arch python-pip installation on my new machine. My solution was:
Fair enough, I’ll try to reinstall it.