-
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
AttributeError: 'zipimporter' object has no attribute 'find_module'. Did you mean: 'load_module'? #11793
Comments
Looks like a upstream issue in the distro with devendoring |
No, it's a Python 3.12 issue - from What's New in 3.12:
It looks like this is something that might need to be fixed in the vendored |
However, see the comment here - the intention is that we stop using |
I’m pretty sure that this isn’t us but whomever is modifying pip. Based on the use of apt, this looks like a Debian derived distribution like Ubuntu and, it’s likely with the deadsnakes ppa. Regardless of the details, I am gonna say this isn’t a pip issue but an issue with whomever is modifying pip that you’re fetching via apt. #11794 is where we’ll start testing against 3.12 within pip. |
I think this one can be closed? The 3.12 issue is already tracked elsewhere, and I don’t think there are other actionable items here. |
Description
AttributeError: 'zipimporter' object has no attribute 'find_module'. Did you mean: 'load_module'?
Expected behavior
juse run pip list and print all pack
pip version
can not get
Python version
Python 3.12.0a4
OS
linux
How to Reproduce
sudo apt install python3.12* && sudo apt install libpython1.12*
then wait
and run
python3.12 -m pip list
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: