[Linux] Quick installation of cv2 on Raspberry Pi

sudo apt-get install python3-opencv

Just use this command directly!

note, 

sudo apt-get install python-opencv is installed on python2

sudo apt-get install python3-opencv is installed on python3

 

to sum up

Linux installs the python library, apt-get install python3-name is installed in python3, the version without 3 is installed in the python2 version, you need to pay attention

Guess you like

Origin blog.csdn.net/weixin_44566432/article/details/115049136