conda install opencv
安装之后,可以正常import cv2了,但是后面在装另一个包的时候conda自动把刚装的opencv降了一个版本,然后发现就报错ImportError:DLL load fail:找不到指定模块
最后还是用
pip install opencv-python
装上了,import cv2也成功了,然后我用
conda list
发现在包列表里面conda装的是包名叫opencv,pip装的包叫opencv-python,敢情都是用import cv2导入,两家的包名却不一样!!!
所以得出的答案就是,用conda装了不能用的包,果断用pip安装!!!
- ImportError 模块 时报 办法 importimporterror模块 时报 办法 importerror importing模块greenlet importerror importing模块qtchart selenium import 39 importerror importerror-cannot-import-name-un importerror pykeyboard cannot import 39 importerror cannot import importerror-cannot-import-name-un known-location importerror application qtwidgets办法 import importerror multiarray pybigwig