Python3 安裝Opencv方法
歡迎加入學習交流QQ群:657341423
-
到http://www.lfd.uci.edu/~gohlke/pythonlibs/ 下載所需的版本,注意版本號的對應。
opencv_python-3.1.0-cp35-cp35m-win_amd64.whl,scipy-0.17.1-cp35-cp35m-win_amd64.whl,numpy-1.11.0+mkl-cp35-cp35m-win_amd64.whl
(!!!32位的系統下載32位的包,64位的下載64位的,但是如果在64位的系統上安裝了32位的python,則需下載32位的包)
(opencv 3.0.0 對應的是opencv的版本,cp34對應的python的版本) -
使用cmd進入下載好的檔案的目錄,安裝指令:(opencv是最後安裝的),最好按照下面順序安裝
“pip install numpy-1.11.0+mkl-cp35-cp35m-win_amd64.whl”
“pip install scipy-0.17.1-cp35-cp35m-win_amd64.whl”
“pip install opencv_python-3.1.0-cp35-cp35m-win_amd64.whl” -
驗證:importcv2 無報錯
可能遇到的報錯:dll load failed: 找不到指定的模組
這是因為對dll的解析錯誤,需要下載一個依賴項:
Visual C++ 2015 redistribution package https://www.microsoft.com/en-us/download/details.aspx?id=48145 (!!32位的Python下載32位的,64位的python下載64位的
歡迎加入學習交流QQ群:657341423
相關文章
- caffe安裝系列——安裝OpenCVOpenCV
- mac 安裝opencv homebrew安裝MacOpenCV
- python安裝opencvPythonOpenCV
- brew 安裝python3:如何使用brew安裝Python3Python
- python如何安裝OpenCV?PythonOpenCV
- windows安裝cmake、opencv、qtWindowsOpenCVQT
- Linux下安裝OpenCVLinuxOpenCV
- mac安裝python3MacPython
- Mac 安裝Python3MacPython
- CentOS 安裝Python3CentOSPython
- CentOS 安裝 Python3CentOSPython
- centOS安裝python3CentOSPython
- linux安裝python3(原始碼安裝)LinuxPython原始碼
- Mac下安裝node-opencvMacOpenCV
- 樹莓派opencv的安裝樹莓派OpenCV
- Ubuntu 14.04 下安裝 OpenCVUbuntuOpenCV
- opencv4.5 帶cuda 安裝OpenCV
- VS2010安裝OpenCV2.1方法OpenCV
- 為CentOS安裝python3CentOSPython
- Linux安裝Python3LinuxPython
- python3安裝scrapy框架Python框架
- Python3安裝requests庫Python
- python3環境安裝Python
- Ubuntu環境Anaconda安裝opencvUbuntuOpenCV
- apt-get install **安裝opencvapt-getOpenCV
- Windows下CMake編譯安裝OpenCVWindows編譯OpenCV
- opencv3.2 安裝說明書OpenCV
- Python3 安裝第三方模組的二種方法Python
- rhel7安裝python3Python
- 怎麼解除安裝python3Python
- python3環境如何安裝Python
- mac上如何安裝python3MacPython
- windows10 安裝python3WindowsPython
- linux下安裝python3LinuxPython
- python3安裝和使用virtualenvPython
- Linux下Python3安裝LinuxPython
- ubuntu系統編譯安裝OpenCV 4.4Ubuntu編譯OpenCV
- 給ROCK64安裝OpenCV3OpenCV