Could not find libavformat with pkg-config. Could not find libavcodec with pkg-config. Could not find libavdevice with pkg-config. Could not find libavutil with pkg-config. Could not find libavfilter with pkg-config. Could not find libswscale with pkg-config. Could not find libswresample with pkg-config.
解决方法:sudo apt-get install -y python-dev python-virtualenv pkg-configsudo sudo apt-get install -y \ libavformat-dev libavcodec-dev libavdevice-dev \ libavutil-dev libswscale-dev libavresample-devgit clone https://github.com/PyAV-Org/PyAV.gitcd PyAVpip install Cythonpython setup.py build
参考链接:https://github.com/PyAV-Org/PyAV/issues/105
总结以上是内存溢出为你收集整理的#Python#错误之:PyAV安装could not find libavdevice with pkg-config全部内容,希望文章能够帮你解决#Python#错误之:PyAV安装could not find libavdevice with pkg-config所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)