gpt4 book ai didi

FFMPEG 4.2.4,Python 3.9 : "ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory"

转载 作者:行者123 更新时间:2023-12-04 22:51:39 29 4
gpt4 key购买 nike

我正在使用 ffmpeg 4.2.4 和 Python 3.9
当前出现错误:ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory尝试了这些链接的解决方案,但没有奏效:
ffmpeg: error while loading shared libraries: libopenh264.so.5
Ffmpeg error in linux
如果有人知道如何修复它,或者需要更多信息,请告诉我。

编辑:我注意到自从我创建这篇文章以来已经一年多了,它仍然收到回复 - 我创建了一个 gist解释我克服类似问题的另一种方法
基本上,我卸载了 conda 的 ffmpeg 版本。 (在有问题的环境中)使用 conda uninstall ffmpeg --force并且(对于 Ubuntu),使用 sudo apt install ffmpeg 更新系统范围的版本(我认为这就是它的名称)

最佳答案

想通了你可以conda update ffmpeg ,即使你不能用 conda 安装它...
彻底解决了问题。发布这个以防其他人有同样的问题。
注意:我通过官方网站使用命令下载 PyTorch 得到了(错误的)ffmpeg。

关于FFMPEG 4.2.4,Python 3.9 : "ffmpeg: error while loading shared libraries: libopenh264.so.5: cannot open shared object file: No such file or directory",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66509275/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com