window安装openVC 错误 from . import cv2 ImportError: DLL load failed
2018-01-02 16:34
513 查看
使用pip 直接安装的opencv 无法正常使用
2
3
4
5
6
7
8
9
10
11
操作系统 win10 64位
python ==3.6
问题原因:pip 安装的版本不对
解决办法:卸载原始版本,安装新的版本
去官网下载对应的版本
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
pip install opencv_python1
python >>>import cv2 Traceback (most recent call last): File "<ipython-input-1-72fbbcfe2587>", line 1, in <module> import cv2 File "C:\Users\Z.Y\.conda\envs\python35\lib\site-packages\cv2\__init__.py", line 7, in <module> from . import cv2 ImportError: DLL load failed: 找不到指定的模块。1
2
3
4
5
6
7
8
9
10
11
操作系统 win10 64位
python ==3.6
问题原因:pip 安装的版本不对
解决办法:卸载原始版本,安装新的版本
pip uninstall opencv_python1
去官网下载对应的版本
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
pip install opencv_python‑3.2.0‑cp36‑cp36m‑win32.whl (32-bit version) pip install opencv_python‑3.2.0‑cp36‑cp36m‑win_amd64.whl (64-bit version) python >>import cv2
相关文章推荐
- from scipy import spatial 出现 from .qhull import * ImportError: DLL load failed: The specified module could not be found. 错误
- pywin32 安装错误 ImportError: DLL load failed: 不是有效的 Win32 应用程序
- import win32api 出现ImportError: DLL load failed 错误的解决方法
- [Python] from scipy import sparse 报 DLL load failed:找不到指定模块错误
- 解决import _tkinter时提示ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。
- 解决安装python matplotlib包时出现”ImportError: DLL load failed: 找不到指定的程序“ 的问题
- windows7下python2.6 + mysql5.5(No module named MySQLdb/DLL load failed/from sets import ImmutableSet)
- 安装python2.7(windows),wxpython: import wx:ImportError:DLL load failed:%1不是有效的Win32应用程序
- python3.5 运行from skimage import morphology,feature报错ImportError: DLL load failed:找不到指定模块
- windows操作系统下通过Anaconda安装scrapy后出现ImportError: DLL load failed: 操作系统无法运行 %1
- 安装python2.7(windows),wxpython: import wx:ImportError:DLL load failed:%1不是有效的Win32应用程序
- win32api pywin32 安装后出现 ImportError: DLL load failed
- from scipy.linalg import _fblas ImportError: DLL load failed: 找不到指定的模块
- win2008server R2 x64 部署.net core到IIS上出现【Failed to load the dll from [C:\Program Files\dotnet\host\fxr\1.0.1\hostfxr.dll], HRESULT: 0x80070057】错误
- from cryptography.hazmat.bindings._openssl import ffi, lib ImportError: DLL load failed: 操作系统无法运行1%
- Python3.6 numpy opencv3.2 安装 及 ImportError: DLL load failed: 找不到指定的模块
- win32api pywin32 安装后出现 ImportError: DLL load failed
- import tensorflow 报错ImportError:DLL load failed with error code -1073741795
- 安装scikit-learn,win7 64位 (装了一下午,终于搞定了)解决ImportError: DLL load failed
- Biztalk 2010 安装:failed load msxmlsql.dll 错误