Last answered:

31 Mar 2022

Posted on:

14 Apr 2020

0

Installing Open CV

Hello!!   I-m trying to install Open CV.  I followed the class tutorial writting :   conda install -c conda-forge capstone but this error shows up:   failed with initial frozen solve. Retrying flexible solve.   PackagesNotFoundError: The following packages are not available from current channels: -capstone  And then it suggests going to Anaconda website I then followed the instructions of Anaconda.org but this error appeared: Conda HTTPError I did it again and no error poped up, however, I can't find Open CV in either of my environments. I closed and reopened Anaconda, but nothing works.    Any suggestions? Thanks!!
2 answers ( 0 marked as helpful)
Posted on:

14 Apr 2020

0
I believe you could try something. Are you using spyder as python IDE ? Well, if yes, open it and in python console window, try this command: “pip list” without double quotes. If “open cv” is installed, will be shown on the list.
Posted on:

31 Mar 2022

0

The provided instructions are incorrect.
The correct command is

conda install -c conda-forge opencv

conda install --help you will see that the -c flag tells conda which channel to install the package from.

The command provided in the course erroneously uses the environment (called capstone) as the second argument of the install command.

PackagesNotFoundError: The following packages are not available from current channels: -capstone
This error is evidence to the user that the package the program is attempting to install is '-capstone', rather than opencv

I have raised this with support who were most unhelpful.

Submit an answer