Last answered:

31 Mar 2022

Posted on:

21 Nov 2021

0

problem with installing open CV via anaconda prompt

i can install openCV via anaconda, the prompt show the messeage PackagesNotFoundError, what sholud I do

2 answers ( 0 marked as helpful)
Instructor
Posted on:

22 Nov 2021

0

Hey,

Thank you for reaching out!

Unfortunately, I cannot tell you what the problem is without having seen the outputs from the Anaconda Prompt. I would suggest creating a new clean environment and following closely the steps from the video lecture. You could also look up on the internet how people resolve issues like those. Stackoverflow usually helps a great deal with this.

Hope that you would resolve the problem quickly!

EDIT: Instead of the command
conda install -c conda-forge capstone
please execute the following:
conda install -c conda-forge opencv
This should solve the problem :) Of course, do this within your capstone environment.

Kind regards,
365 Hristina

Posted on:

31 Mar 2022

2

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