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