How do I install opencv using pip?

后端 未结 18 738
情歌与酒
情歌与酒 2020-12-03 00:19

I need to install cv2 for a script that has been written for me. I tried pip install cv2 and pip install open_cv and got the same pro

18条回答
  •  抹茶落季
    2020-12-03 00:43

    run the following command by creating a virtual enviroment using python 3 and run

    pip3 install opencv-python
    

    to check it has installed correctly run

    python3 -c "import cv2"
    

提交回复
热议问题