The 365 Data Science team is proud to invite you to our own community forum. A very well built system to support your queries, questions and give the chance to show your knowledge and help others in their path of becoming Data Science specialists.
Ask
Anybody can ask a question
Answer
Anybody can answer
Vote
The best answers are voted up and moderated by our team

Issues with OpenCV installation

Issues with OpenCV installation

0
Votes
1
Answer

When I try to type in the command – “conda install -c conda-forge capstone” I get the following error:
CAPSTONE is the workspace where I want to install OpenCV
(base) PS C:\WINDOWS\system32> conda install -c conda-forge capstone
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
– capstone
Current channels:
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you’re
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
 
Can someone help as to what I am doing wrong? 

1 Answer

365 Team
0
Votes

Hi Aveek, 
thanks for reaching out. You could look at the stackoverflow thread, were a similar problem is being discussed:
https://stackoverflow.com/questions/48493505/packagesnotfounderror-the-following-packages-are-not-available-from-current-cha
One of the suggestions they offer is to use conda config –append channels conda-forge, instead of install. Could you give that a go and let us know if it works?
 
Best, 
Eli

I did not try the above command instead I tried to import the CV2 library in Spyder which surprisingly worked. Earlier, I was trying in Jupyter and there was a “Invalid Library” error.Not sure why this was occurring.

6 months