Pycharm/Python OpenCV and CV2 install error

前端 未结 16 1744
萌比男神i
萌比男神i 2020-12-24 00:23

I\'ve been trying to install both OpenCV and cv2 from both Pycharm and from the terminal as suggested using:

pip install --user opencv
pip install --user cv2         


        
16条回答
  •  感动是毒
    2020-12-24 00:34

    How about try some different mirrors? If you are in China, I highly recommend you try:

    sudo pip install --index https://pypi.mirrors.ustc.edu.cn/simple/ opencv-contrib-python
    

    If not, just replace the url address to some other mirrors you like! Good luck.

提交回复
热议问题