2016-11-09 115 views
0

通过阿纳康达运行几乎每一个在spyder的从OpenAi健身房代码(例如这样的代码:https://gym.openai.com/evaluations/eval_y5dnhk0ZSMqlqJKBz5vJQw)检测 我碰上以下错误消息:FFMPEG没有被Spyder的

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'. 

然而,当I型brew install ffmpeg在终端,我得到Warning: ffmpeg-3.2 already installed并没有任何反应。

有关如何解决此错误的任何想法?

回答

3

您需要安装Anaconda可以识别的ffmpeg副本。请在终端运行这个命令来做到这一点

conda install -c conda-forge ffmpeg