Anaconda在Spyder中运行几乎所有来自OpenAi gym的代码(例如此代码:https://gym.openai.com/evaluations/eval_y5dnhk0ZSMqlqJKBz5vJQw) 我遇到以下错误消息:
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
并且没有任何反应。
有关如何解决此错误的任何想法?
答案 0 :(得分:8)
您需要安装一个可被Anaconda识别的ffmpeg副本。请在终端中运行此命令来执行此操作
return (this.state.limit).fill().map((_,index) => {
return (
<div key={`${index}`}> Item </div>
)
)
答案 1 :(得分:-1)
只需下载并安装ffmpeg
,然后添加到path。重新启动Jupyter笔记本服务器后,它对我有用。
在此处查看完整说明:http://blog.gregzaal.com/how-to-install-ffmpeg-on-windows/