numpy安装版本有问题

来源:1-3 开发环境部署

慕移动9123849

2024-09-28 20:50

你好,我安装成功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


写回答 关注

1回答

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

    已解决

人工智能入门:Python实现机器学习

使用python手把手教你编程实现机器学习

27164 学习 · 81 问题

查看课程

相似问题