how could we install opencv on anaconda?

后端 未结 4 2032
夕颜
夕颜 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 06:54

    I guess

    http://answers.opencv.org/question/17536/install-opencv-for-anaconda-ipython/

    it would be an answer

    If you compile OpenCV from source, and Anaconda is your default python interpretor 
    (CMake rule PYTHON_PACKAGES_PATH = C:\Anaconda\Lib\site-packages), 
    then the install rule will copy cv2.pyd to C:\Anaconda\Lib\site-packages.
    Otherwise, you could do it manually, and make sure OpenCV libs are in the PATH.
    

    Still I don't know what is CMake rule(?) and "install rule".

提交回复
热议问题