-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pip install fails due to old numpy version #3341
Comments
For python 3.13+, this PR pinned another version as a workaround: #3327 However, it's still broken for python 3.12. |
Hi, paddleclas has not been tested with Python 3.12+, and we are still discussing if the support should be added in the next release. Currently, we would recommend Python 3.8, 3.9, and 3.10, as the existing tests are based on these versions. For now, you can try installing paddleclas from source by locally removing the version specification of numpy from the dependency list. That may work, but since paddleclas isn't really tested with some new versions of numpy, the performance and stability is not guaranteed. |
today is 2025-2-4, and this issue is still not fixed. i searched and found that, is setuptools and python version question, or Compatibility issues between Python and numpy versions, or must rewirte paddleclas/setup.py file. |
Find 'register_finder(pkgutil.ImpImporter' in after comment
python3.12, use pip install PaddleClas, still get error:
so, in pip install enviroment , the file is not use local site-packages\pkg_resources_init_.py, but use remote pypi file. |
python 3.12, Temporarily resolved installation issues
|
With python 3.12+, the installation via
pip install paddleclas
fails due to numpy:The text was updated successfully, but these errors were encountered: