module compiled against API version 9 but this version of numpy is 7的解决方法
来源:互联网 发布:sql中minus 编辑:程序博客网 时间:2024/05/21 09:25
刚才看到雷霄骅博士的博客才得知他在17号走了,英才早逝,可惜啊。希望他一路走好。
————————————————————————————————————————————————————————————————————————————
我使用python和OpenCV时出现的错误:
>>> import numpy
>>> import cv2
RuntimeError: module compiled against API version 9 but this version of numpy is 7
解决方案:
到SourceForge中下载9版本的numpy
https://sourceforge.net/projects/numpy/?source=typ_redirect
或者直接使用pip升级
pip install numpy --upgrade
如图:
0 0
- module compiled against API version 9 but this version of numpy is 7的解决方法
- module compiled against API version 9 but this version of numpy is 6
- 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问题
- Mac安装Tensorflow,运行项目报错: module compiled against API version 0xa but this version of numpy is 0x9
- 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 ...
- 关于Android Studio "This version of android studio is incompatible with the gradle version used."的解决方法
- mvn install Geoserver under ubuntu10.04 时遇到的错误:the API of the mojo scanner is not compatible with this plugin version. 的解决方法
- 解决方案: the selected file is a solution file but was created by a newer version of this application an
- This function is not included in this version of jmail.
- At least one Instantiations product installed into this version of Eclipse was compiled
- Application requires API version 15. Device API version is 7
- Spark初识
- hdu 5631 Rikka with Graph(无向图的割边)
- JobHarvest——利用springAOP进行运行性能测评(更新中)
- hdu 5748 Bellovin (最长递增子序列 二分查找)
- Oozie 大致概览
- module compiled against API version 9 but this version of numpy is 7的解决方法
- tjut 2824
- POJ 1861最小瓶颈树wa
- mybatis下使用log4j打印sql语句和执行结果
- MPTCP 源码分析(七) 拥塞控制
- BNU Training 2016.07.25 总结
- C语言系列(二)有符号数和无符号数详解
- CodeForces 501C Misha and Forest (STL queue)(拓扑排序)
- BestCoder Round #86 HDU 5804(暴力),HDU 5805(前缀和后缀差值最大),HDU 5806(尺取法),HDU 5807(简单DAG 分步式DP )