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
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
問(wèn)題描述:
如題,導(dǎo)入cv2時(shí)出現(xiàn)ImportError: libjasper.so.1: cannot open shared object file: No such file or directory這個(gè)錯(cuò)誤。
解決方法:
?
pip3 install opencv-contrib-python==3.3.0.9 -i https://www.piwheels.org/simple # 安裝3309版本sudo apt-get update #安裝依賴庫(kù)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)作獎(jiǎng)勵(lì)來(lái)咯,堅(jiān)持創(chuàng)作打卡瓜分現(xiàn)金大獎(jiǎng)總結(jié)
以上是生活随笔為你收集整理的import cv2时ImportError: libjasper.so.1: cannot open shared object file: No such file or directory的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 数据增强:数据有限时如何使用深度学习 ?
- 下一篇: 树莓派使用神经计算棒1代的准备(Tens