/ Python

【 Solutions 】解決 ImportError cv2.cpython-37m-arm-linux-gnueabihf.so

問題

Raspberry Pi 4 中 import cv2 發生下方錯誤訊息

IMG-6122


解決方案

  • 因新版的 openCV 不支援 Raspberry Pi,故請在終端機輸入下方指令
    pip3 install opencv-python==3.4.6.27
    

GitHub
List of blogs
Archer

Archer

Having being a software engineer. Experience with Python, JavaScript, Node.js, Objective-C, Micro:bit, Raspberry Pi, AWS, Azure, IoT. ❆ [email protected] https://oranwind.org/author/archer/

Read More