MXnet: RuntimeError: module compiled against API version a but this version of numpy is 9
来源:互联网 发布:期货行情数据接口 编辑:程序博客网 时间:2024/05/17 22:52
在MXnet中,使用python命令"import mxnet as mx",出现如下错误:
RuntimeError: module compiled against API version a but this version of numpy is 9
这是因为numpy的版本太低,于是要更新numpy,使用命令"sudo pip install -U numpy"更新,更新失败,
于是打算卸载numpy重装"sudo pip uninstall numpy",却出现了错误"Not uninstalling numpy at /usr/lib/python2.7/dist-packages, owned by OS",
之后用"sudo apt-get remove python-numpy",才卸载掉了,
再用"sudo pip install numpy",提供提示numpy已存在,是1.8.0版本,
最后再次使用"sudo pip install -U numpy",才更新成功了,
用" pip search "numpy" "查看numpy版本,为"1.10.4(latest)",总算是更新成功了。
可以成功使用"import mxnet as mx"了。
0 0
- MXnet: RuntimeError: module compiled against API version a but this version of numpy is 9
- RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- RuntimeError: module compiled against API version 0xa but this version of numpy is 0xb
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
- tensorflow RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9问题
- module compiled against API version 9 but this version of numpy is 6
- module compiled against API version 9 but this version of numpy is 7的解决方法
- Mac安装Tensorflow,运行项目报错: module compiled against API version 0xa but this version of numpy is 0x9
- 解决方案: the selected file is a solution file but was created by a newer version of this application an
- incorrect MySQL client library version! This gem was compiled for 6.0.0 but the client library is 5.
- Error: API mismatch: the NVIDIA kernel module has version 295.40, but this NVIDIA driver ...
- Project 'XX' is targeting a 1.6 runtime, but is compiled against '....
- “(null)” is of a model that is not supported by this version of Xcode. Ple
- Phone may be running a version of iOS that is not supported by this version of Xcode.
- "A more recent version of this document is supported by this" JPA persistence.xml问题
- “(null)” is of a model that is not supported by this version of Xcode. Please use a different device
- 写文件
- [leetcode] 208. Implement Trie (Prefix Tree) 解题报告
- js正则表达式
- C++ Primer 5th - 1.5 类
- android自定义大括弧
- MXnet: RuntimeError: module compiled against API version a but this version of numpy is 9
- [POJ3352]Road Construction 做题笔记
- OSI七层模型详解
- 利用牛顿法接非线性方程组的Matlab程序实例
- 当数据不够一屏时 实现collectionView的滑动
- matlab随机数
- SQL-select
- [疯狂Java]UDP:接收发送数据报、获取接收到的数据报的相关信息
- 目标跟踪 最简单的目标跟踪(模版匹配)