赞
踩
碰到的问题如下所示:
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
pip show numpy
pip uninstall numpy
pip index versions numpy
- pip install -U numpy==1.9.0
- # 1.9.0是自定的版本号
error: subprocess-exited-with-error
可以尝试检查网络问题(有没有使用魔法)
或者 更新setuptool
pip install --upgrade setuptools
pip install -U numpy<2
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。