Unable to install OpenCV 3.2 in Anaconda 4.3

蓝咒 提交于 2019-12-11 06:27:23

问题


Tried the following steps

  1. conda install -c menpo opencv3=3.2.0 .. Fetching package metadata....An unexpected error has occurred
  2. Did some internet search and used conda config --set ssl_verify=False
  3. Then tried doing conda update -all and conda update pyopenssl but no luck
  4. even remove certifidoes not work ...gives the same error...infact any update / install attempt gives the same result.
  5. I have NOT set my PYTHONHOME or PYTHONPATH
  6. Followin are the screen shots of my current conda settings and the update/install error. Platform : Windows 8.1
  7. If there is any other method to install OpenCV 3.2 in Anaconda environment please mention it

EDIT : PROBLEM SOLVED

  1. Open Anaconda terminal
  2. Navigate to the folder in Anaconda main folder which contains Python Scripts
  3. Download the un-offical opencv + contrib binaries from here
  4. In the Anaconda terminal do pip install

`


回答1:


The menpo file page shows only OpenCV 3.2.0 for Python 2.7/3.4/3.5 on linux-64 platform is available.

You can try this OpenCV 3.2.0 binary in github if your Windows is 64-bit and with Python 2.7.

See this https://stackoverflow.com/questions/42310099 for more informtion.




回答2:


Also, you can go into your Anaconda environment and run one of the following for OpenCV 3.4.4:

conda install -c conda-forge opencv 
conda install -c conda-forge/label/gcc7 opencv 
conda install -c conda-forge/label/broken opencv 
conda install -c conda-forge/label/cf201901 opencv



回答3:


For anaconda running python 3.7, you can use

conda install py-opencv=3.4.2


来源:https://stackoverflow.com/questions/42617663/unable-to-install-opencv-3-2-in-anaconda-4-3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!