Installing OpenCV with Conda and Spyder

后端 未结 2 1079
温柔的废话
温柔的废话 2021-01-19 13:03

I\'m having trouble installing OpenCV with Conda. I tried running numerous commands, none of which worked. For example, when I ran conda install -c anaconda opencv

相关标签:
2条回答
  • 2021-01-19 14:00

    The answer for this issue is updating Anaconda to the newest version:

    conda update -n base -c defaults conda
    

    then you can install opencv normally using:

    conda install -c conda-forge opencv
    
    0 讨论(0)
  • 2021-01-19 14:02

    Python 3.8 is relatively new. And according to the error it looks like that conda package manager still does not support Python 3.8.

    Try downloading using this command:

    pip install opencv-python

    For a proper guide, refer https://pypi.org/project/opencv-python/

    0 讨论(0)
提交回复
热议问题