树莓派4 安装opencvpython

编程

安装地址:

http://www.freesion.com/article/4543304914/

 

树莓派4B+ 安装opencv-python 环境错误

/usr/local/lib/python3.7/dist-packages/cv2/cv2.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: __atomic_fetch_add_8

bug问题与解决网址:https://github.com/piwheels/packages/issues/59

 

  • 树莓派thonny程序启动

LD_PRELOAD=/usr/lib/arm-linux-gnueabihf/libatomic.so.1 thonny &

  • 4.1.1.26 卸载这个版本bug
  • pip3 uninstall opencv-contrib-python

    pip3 install opencv-contrib-python==4.1.0.25

以上是 树莓派4 安装opencvpython 的全部内容, 来源链接: utcz.com/z/514852.html

回到顶部