Closed mahuangxu closed 2 years ago
There is already some hints in you error messages: Found neither the ffmpeg nor avconv executables
.
This bug is because your setting doesn't install ffmpeg
, which is used to save replay video when evaluation, and there are 2 solutions:
ffmpeg
, but it may be a lit hard in win32 system.enable_save_replay
There is already some hints in you error messages:
Found neither the ffmpeg nor avconv executables
.This bug is because your setting doesn't install
ffmpeg
, which is used to save replay video when evaluation, and there are 2 solutions:
- install
ffmpeg
, but it may be a lit hard in win32 system.- comment the code part related to save replay video, for example, just comment the code related to
enable_save_replay
I also met the above error on Windows 10 64 bit. Then I tried pip install ffmpeg
, but it didn't work. After searching on the Internet, an effective resolution is to download ffmpeg here with a correct version, unzip it and then add the 'bin' directory path to the system variable. To verify it, use ffmpeg -version
.
v0.3.1 1.8.1+cpu 3.8.12 (default, Oct 12 2021, 03:01:40) [MSC v.1916 64 bit (AMD64)] win32
When running the basic example: python3 -u dizoo/classic_control/cartpole/entry/cartpole_dqn_main.py It shows the following error.