-
Notifications
You must be signed in to change notification settings - Fork 3.1k
python3 -mpip list --format=freeze giving unclear errors. #13341
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
Comments
You have a package with malformed metadata installed. Rerun pip with Although we should probably handle this more gracefully. |
looking at the error dump above, it says python-apt is the problem.
|
Given the invalid version of |
|
Its a common issue with Debian derivates that invalid metadata is used |
Description
pytorch/pytorch#147669 (comment)
in the issue above, I'm informed that the issue with the pytorch module is caused by pip. However, the issue with pip is not clarified. Please let me know if this is an issue with pip or not.
Expected behavior
python3 -mpip list --format=freeze should not throw any errors.
pip version
25.0.1
Python version
3.10.12
OS
elementary OS 7.1 (ubuntu 22.04)
How to Reproduce
$ python3 -mpip list --format=freeze
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: