pymp未检测到ffmpeg [英] ffmpeg is not being detected by Spyder
问题描述
由Anaconda运行spyder中OpenAi体育馆的几乎所有代码(例如,此代码: https://gym.openai.com/evaluations/eval_y5dnhk0ZSMqlqJKBz5vJQw ) 我遇到以下错误消息:
Running almost every code from OpenAi gym in spyder by Anaconda (for instance this code: https://gym.openai.com/evaluations/eval_y5dnhk0ZSMqlqJKBz5vJQw ) I run into the following error message:
DependencyNotInstalled: Found neither the ffmpeg nor avconv executables. On OS X, you can install ffmpeg via 'brew install ffmpeg'. On most Ubuntu variants, 'sudo apt-get install ffmpeg' should do it. On Ubuntu 14.04, however, you'll need to install avconv with 'sudo apt-get install libav-tools'.
但是,当我在终端中键入brew install ffmpeg
时,却得到Warning: ffmpeg-3.2 already installed
,什么也没发生.
However when I type brew install ffmpeg
in terminal, I get Warning: ffmpeg-3.2 already installed
and nothing happens.
关于如何解决此错误的任何想法?
Any ideas on how to fix this error?
推荐答案
您需要安装一个可以被Anaconda识别的ffmpeg副本.请在终端中运行此命令
You need to install a copy of ffmpeg that can be recognized by Anaconda. Please run this command in a terminal to do that
conda install -c conda-forge ffmpeg
这篇关于pymp未检测到ffmpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!