问答详情
源自:1-3 开发环境部署

numpy安装版本有问题

你好,我安装成功numpy后,安装scikit-learn一直显示numpy版本不对。试了好几个版本,都不行。我的python版本是3.12.5版本,请问我的numpy安装什么版本的才不会出错呢?

错误显示:

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.1.1 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'.
ImportError: numpy.core.multiarray failed to import


提问者:慕移动9123849 2024-09-28 20:50

个回答

  • 慕移动9123849
    2024-09-28 21:36:56

    已解决