import cv2时ImportError: libjasper.so.1: cannot open shared object file: No such file or directory
生活随笔
收集整理的這篇文章主要介紹了
import cv2时ImportError: libjasper.so.1: cannot open shared object file: No such file or directory
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
問題描述:
如題,導(dǎo)入cv2時出現(xiàn)ImportError: libjasper.so.1: cannot open shared object file: No such file or directory這個錯誤。
解決方法:
?
pip3 install opencv-contrib-python==3.3.0.9 -i https://www.piwheels.org/simple # 安裝3309版本sudo apt-get update #安裝依賴庫sudo apt-get install libhdf5-devsudo apt-get install libatlas-base-devsudo apt-get install libjasper-devsudo apt-get install libqt4-testsudo apt-get install libqtgui4sudo apt-get updatepython3import cv2 # 檢查導(dǎo)入成功?參考:https://blog.csdn.net/qq_38269799/article/details/83384291
?
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的import cv2时ImportError: libjasper.so.1: cannot open shared object file: No such file or directory的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 数据增强:数据有限时如何使用深度学习 ?
- 下一篇: 树莓派使用神经计算棒1代的准备(Tens