5

I want to update opencv from 3.1.0 to 3.2.0

I run "conda install -c menpo opencv3=3.1.0" to install opencv 3.1.0

when I run "conda install -c menpo opencv3=3.2.0", I got error.

C:\Users\eason>conda install -c menpo opencv3=3.2.0
Fetching package metadata .............


PackageNotFoundError: Package not found: '' Package missing in current win-64 ch
annels:
- opencv3 3.2.0*

You can search for packages on anaconda.org with

anaconda search -t conda opencv3

https://anaconda.org/menpo/opencv3

When I run "anaconda search -t conda opencv3"... enter image description here

I found opencv3=3.2.0 , but I can't install it?

Is anyone helps ? thanks!

4 Answers 4

4

run the following command

conda install -c conda-forge opencv=3.2.0
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.

If you are using Python 3.4, you may try this:

conda install -c daleydeng opencv=3.2.0 
4
  • UnsatisfiableError: The following specifications were found to be in conflict: - opencv 3.2.0* -> python ==3.5 - python 2.7* Use "conda info <package>" to see the dependencies for each package.
    – eason
    Mar 2, 2017 at 1:00
  • I read the menpo file page... I'm using win7...OK,It can't install... Thanks!
    – eason
    Mar 2, 2017 at 2:40
  • If you can tell you are using 32-bit or 64-bit Windows, Win7 or Win10 doesn't matter, may be someone can help to advise if there is a binary/package fits you. Mar 2, 2017 at 15:04
  • I'm using Win7 64
    – eason
    Mar 3, 2017 at 0:21
1

Just pushed my OpenCV 3.2 binary to github. It compiled with opencv_contrib modules and runs on Win10 64-bit with Python 2.7.

You may have a trial. Good Luck!

7
  • What are the installation paths of your 1) Anaconda and 2) OpenCV3.2.0? Do you use conda-env in your Anaconda setup? Mar 7, 2017 at 9:37
  • You may refer to Atlas7's reply in http://stackoverflow.com/questions/23119413. The cv2.pyd and OPENCV_DIR setup is pretty much the same. The difference is that my OpenCV 3.2.0 binary with contrib modules is complied with VC14 (i.e. Visual Studio 2015) instead of VC12 (i.e. Visual Studio 2013). Mar 7, 2017 at 13:59
  • I tried it. the same result. When updating the cv2 from 3.1.0 to 3.2.0,I got DLL load failed.
    – eason
    Mar 8, 2017 at 0:43
  • Seems there is some setting conflicts. What are the Windows environment variable settings and.install paths of your OpenCV 3.2, Anaconda/Python 2.7 and ...? Mar 8, 2017 at 6:27
  • Opencv: C:\Program Files\OpenCV 3.2.0 . Windows environment: C:\Program Files\OpenCV 3.2.0\x64\vc14; I think it's right.
    – eason
    Mar 8, 2017 at 7:15
1
  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
5
  • opencv_python-3.2.0+contrib-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
    – eason
    Mar 7, 2017 at 9:29
  • I'm using python 2.7. I think it's not support opencv3.2.0 ?
    – eason
    Mar 7, 2017 at 9:30
  • The package name tells it's for Python 3.5 - "opencv_python-3.2.0+contrib-cp35-cp35m-win_amd64". Mar 7, 2017 at 9:45
  • @eason ...whats the harm in upgrading to python3.6 or python3.5 ? Mar 7, 2017 at 13:17
  • I won't upgrade python version,I'm in a company.
    – eason
    Mar 8, 2017 at 0:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.