A module that was compiled using NumPy 1.x cannot be run inNumPy 2.0.0

问题描述:

如下图

明显是因为module在numpy 2.x版本下不支持,因此解决办法为将numpy降级为1.x

问题解决:

1.卸载已安装的numpy2.x

>pip uninstall numpy

2.安装numpy1.x (以安装numpy1.26.4为例)

pip install numpy==1.26.4

相关推荐

  1. LeetCode 1351, 1, 208

    2024-07-22 04:36:02       21 阅读
  2. 2060:【例1.1】计算机输出

    2024-07-22 04:36:02       23 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-07-22 04:36:02       52 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-07-22 04:36:02       54 阅读
  3. 在Django里面运行非项目文件

    2024-07-22 04:36:02       45 阅读
  4. Python语言-面向对象

    2024-07-22 04:36:02       55 阅读

热门阅读

  1. 墨烯的C语言技术栈-C语言基础-017

    2024-07-22 04:36:02       17 阅读
  2. 对Spring、SpringMVC、MyBatis框架的介绍与解释

    2024-07-22 04:36:02       9 阅读
  3. Linux下编译boost1.85

    2024-07-22 04:36:02       10 阅读
  4. Nginx 学习笔记

    2024-07-22 04:36:02       13 阅读
  5. vue第一次页面加载会触发那几个钩子函数?

    2024-07-22 04:36:02       16 阅读
  6. 大模型日报 2024-07-20

    2024-07-22 04:36:02       14 阅读