You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i umcommented the line 79 in the Chapter04/01_cartpole.py to record video:
env = gym.wrappers.Monitor(env, directory="mon", force=True)
however, when the program terminates, it throws the following exception:
Exception ignored in: <bound method Viewer.del of <gym.envs.classic_control.rendering.Viewer object at 0x000000000507DA58>>
Traceback (most recent call last):
File "E:\dlsoft\lib\site-packages\gym\envs\classic_control\rendering.py", line 143, in del
File "E:\dlsoft\lib\site-packages\gym\envs\classic_control\rendering.py", line 62, in close
File "E:\dlsoft\lib\site-packages\pyglet\window\win32_init_.py", line 305, in close
File "E:\dlsoft\lib\site-packages\pyglet\window_init_.py", line 770, in close
ImportError: sys.meta_path is None, Python is likely shutting down
i'm working on windows in Anaconda, Any ideas ? thanks !
The text was updated successfully, but these errors were encountered:
OpenAI gym is not supporting windows officially: openai/gym#11
Some environments might work, but weird behaviour could pop up here and there. That was the reason why in chapter2, section "Hardware and software requirements" it was stated that only linux and mac os is supported by examples.
To solve this issue I'd suggest you to install ubuntu in virtual machine or use cloud instance.
i umcommented the line 79 in the Chapter04/01_cartpole.py to record video:
env = gym.wrappers.Monitor(env, directory="mon", force=True)
however, when the program terminates, it throws the following exception:
Exception ignored in: <bound method Viewer.del of <gym.envs.classic_control.rendering.Viewer object at 0x000000000507DA58>>
Traceback (most recent call last):
File "E:\dlsoft\lib\site-packages\gym\envs\classic_control\rendering.py", line 143, in del
File "E:\dlsoft\lib\site-packages\gym\envs\classic_control\rendering.py", line 62, in close
File "E:\dlsoft\lib\site-packages\pyglet\window\win32_init_.py", line 305, in close
File "E:\dlsoft\lib\site-packages\pyglet\window_init_.py", line 770, in close
ImportError: sys.meta_path is None, Python is likely shutting down
i'm working on windows in Anaconda, Any ideas ? thanks !
The text was updated successfully, but these errors were encountered: