how could we install opencv on anaconda?

后端 未结 4 2031
夕颜
夕颜 2020-12-30 06:25

I tried to install OpenCV on Anaconda

pip install cv2
pip install opencv
conda install opencv
conda install -c https://conda.binstar.org/jjhelmus opencv
         


        
4条回答
  •  暖寄归人
    2020-12-30 07:17

    Firstly go to your anaconda folder. The path in my case was - C:\Users.....\Anaconda3 . Then go to the Scripts folder. Open this link- http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv . Download this file - opencv_python-3.2.0-cp36-cp36m-win_amd64.whl from the link and copy paste it into your Scripts folder inside Anaconda3 folder. Now go to spyder and type this, import cv2 If everything works out it wont show any error and congrats you just installed it successfully.

提交回复
热议问题