OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
来源:互联网 发布:java swing怎么用 编辑:程序博客网 时间:2024/06/04 20:14
按照网页【http://docs.opencv.org/3.1.0/d5/de5/tutorial_py_setup_in_windows.html】的方法2手动编译了OpenCV3.1.0以及安装了python。
但是在import cv2时出现error "DLL load failed: The specified module could not be found"。
网上找了下原因,可能的原因是
1) opencv和python对应的版本不同,比如一个是32bit一个64bit。
2) 没有把cv2.pyd添加到C:/Python27/lib/site-packages
3) 系统环境变量找不到cv2.pyd
最后解决我电脑的问题的方法是:
添加【C:\OpenCV-3.1.0\build\bin\Release】到系统环境变量。
但是在import cv2时出现error "DLL load failed: The specified module could not be found"。
网上找了下原因,可能的原因是
1) opencv和python对应的版本不同,比如一个是32bit一个64bit。
2) 没有把cv2.pyd添加到C:/Python27/lib/site-packages
3) 系统环境变量找不到cv2.pyd
最后解决我电脑的问题的方法是:
添加【C:\OpenCV-3.1.0\build\bin\Release】到系统环境变量。
0 0
- OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
- monogame Unable to load DLL 'openal32.dll': The specified module could not be found
- GetModuleFileName False failed with error 126 (The specified module could not be found)
- cx_Oracle - ImportError: DLL load failed: The specific module could not be found
- The specified module could not be found
- The specified module could not be found
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- LoadLibrary("TestOCX.ocx") failed-The specified module could not be found
- There is a problem starting qcCoInstaller.dll The specified module could not be found
- IIS出现The specified module could not be found解决方法
- IIS出现The specified module could not be found解决方法
- [转]The specified module could not be found. (Exception from HRESULT: 0x8007007E)
- Web服务器The specified module could not be found错误解决方法
- IIS出现The specified module could not be found的解决方法
- 解决IIS出现The specified module could not be found的方法
- IIS错误解决方法:The specified module could not be found、访问 IIS 元数据库失败
- IIS出现The specified module could not be found错误解决方法!
- ISAPI程序出现“The specified module could not be found”问题解决方法
- 1.求解N以内素数
- 8CollapsingToolbarLayout源码分析
- mysql添加外键
- table操作
- 高德地图POI搜索,附近地图搜索,类似附近的人搜索
- OpenCV3.1 + Python2.7 error "DLL load failed: The specified module could not be found"
- oracle数据库Profile设置及audit异常账户
- swift中UITextField的使用
- leetcode 89 Gray Code
- 3-1 Point类的构造函数
- codevs2845 排序的代价
- 微信小程序开发环境搭建
- Sql Server 查询多条重复数据 删除并保留一条
- appium一些常用方法的封装