简体   繁体   中英

Troubles with installing Opencv to Anaconda

I'm trying to install Opencv to my Anaconda (MacOS) with the following line:

conda install -c conda-forge opencv 

But it shows me UnsatisfiableError and I don't know how to fix it:

UnsatisfiableError: The following specifications were found to be incompatible with each other:

  - pkgs/main/osx-64::anaconda==2019.03=py37_0 -> importlib_metadata==0.8=py37_0
  - pkgs/main/osx-64::importlib_metadata==0.8=py37_0
  - pkgs/main/osx-64::path.py==11.5.0=py37_0 -> importlib_metadata[version='>=0.5']

Maybe someone knows how to fix it?

Looks like this is an open issue . You could either try to:

  1. Create a new/empty environment with python 3.7 and try to install in that
  2. Create a new/empty environment with python 3.6 and try to install in that
  3. Use pip instead to install opencv

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM