Last answered:

31 Mar 2022

Posted on:

02 Apr 2020

0

Could not install capstone

Hello,   I tried installing OpenCV using  install -c conda-forge capstone I got "PackagesNotFoundError"
2 answers ( 0 marked as helpful)
Instructor
Posted on:

05 Apr 2020

0
Hi Huleji, Please try installing OpenCV using:
pip install opencv-python
Best, Iliya
Posted on:

31 Mar 2022

0

The provided instructions in the course 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

Submit an answer