错误:
gym.error.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`.
解决方法:
解决办法:函数括号内加上video_callable=False:
grid = wrappers.Monitor(grid, './robotfindgold',video_callable=False, force=True) # 记录回放动画