问题
Tried the following steps
conda install -c menpo opencv3=3.2.0.. Fetching package metadata....An unexpected error has occurred- Did some internet search and used
conda config --set ssl_verify=False - Then tried doing
conda update -allandconda update pyopensslbut no luck - even
remove certifidoes not work ...gives the same error...infact any update / install attempt gives the same result. - I have NOT set my
PYTHONHOMEorPYTHONPATH - Followin are the screen shots of my current conda settings and the update/install error. Platform : Windows 8.1
- If there is any other method to install OpenCV 3.2 in Anaconda environment please mention it
EDIT : PROBLEM SOLVED
- Open Anaconda terminal
- Navigate to the folder in Anaconda main folder which contains Python Scripts
- Download the un-offical opencv + contrib binaries from here
- 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