#Python#错误之:PyAV安装could not find libavdevice with pkg-config

#Python#错误之:PyAV安装could not find libavdevice with pkg-config,第1张

概述 报错:Couldnotfindlibavformatwithpkg-config.  Couldnotfindlibavcodecwithpkg-config.  Couldnotfindlibavdevicewithpkg-config.  Couldnotfindlibavutilwithpkg-config.  Couldnotfindlibavfilterwithpkg-config.  Co  报错:
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所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/langs/1184713.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-06-03
下一篇 2022-06-03

发表评论

登录后才能评论

评论列表(0条)

保存