-
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: module 'pkgutil' has no attribute 'ImpImporter' #12179
Comments
This error is from Numpy, not pip. Please report to Numpy. |
I returned the py version to 3.11 to resolve, thank you |
Where this error might arise from in NumPy? I tried Pandas, and SciPy using py -m pip install to install those libraries. Also: py -m pip install wheel, setuptools; then I tried something like Any advice where to look out for it? |
We are also running into this error trying to support python 3.12 in pipenv. https://github.com/pypa/pipenv/actions/runs/5772265760/job/15647071533
|
#EDIT: reportlab, pygame were successfully installed. SciPy, Pandas, Numpy were not.
So, we must run pip wheel --use-pep517 "numpy==1.25.2" and see if NumPy supports PEP 517. As the result is an error, same as above, NumPy turns out to not support the aforementioned PEP 517 (Build and Configuration of Packages without directly setup.py which is using setuptools). Thus, I must go and read NumPy code again, specifically about how it processes packages and what tools it uses. The possible issue is NumPY IS NOT COMPATIBLE with Python 12.1 version I downloaded, which is rereleased one. |
Hi all, as explained above, the issue reported here is from setuptools, not pip. If you believe you are running into the same issue as in the top post, please report to setuptools instead. This is the issue tracker for pip, and posting here will not help with your issue in any way. The setuptools issue tracker can be found at https://github.com/pypa/setuptools/issues. @matteius This is a different issue, tracked in #11501 and has been fixed in pip 23.2. Please open a new issue if you believe there has been a regression. |
Description
hi there! i find this error,and this issue,then i upgrade the pip version to
23.2.1
but i still got this error,can anyone help me to deal this problem?Expected behavior
No response
pip version
23.2.1
Python version
3.12
OS
windows
How to Reproduce
excute below script
Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: