本文主要是介绍ffmpeg 错误,ImportError: libopenh264.so.5: cannot open shared object file: No such file or directory,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
ImportError: libopenh264.so.5: cannot open shared object file: No such file or directory
ImportError: libopenh264.so.5: cannot open shared object file: No such file or directory
cp ~/anaconda3/envs/你的环境的名字/lib/libopenh264.so.6 ~/anaconda3/envs/你的环境的名字/lib/libopenh264.so.5
你如果远程时候遇到要显示的图像或者视频,代码报错:
qt.qpa.screen: QXcbConnection: Could not connect to display
Could not connect to any X display.
vim ~/.bashrc
添加
export QT_QPA_PLATFORM='offscreen'
生效
source ~/.bashrc
这篇关于ffmpeg 错误,ImportError: libopenh264.so.5: cannot open shared object file: No such file or directory的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!