Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update save_a_video.py #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EKELE-NNOROM
Copy link

Added env.env.close() in order to remove the error:

Traceback (most recent call last):
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/gym/envs/classic_control/rendering.py", line 143, in del
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/gym/envs/classic_control/rendering.py", line 62, in close
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/window/xlib/init.py", line 480, in close
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/xlib.py", line 345, in destroy
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/base.py", line 334, in destroy
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/xlib.py", line 335, in detach
File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/lib.py", line 97, in errcheck
ImportError: sys.meta_path is None, Python is likely shutting down

Added env.env.close() in order to remove the error:

Traceback (most recent call last):
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/gym/envs/classic_control/rendering.py", line 143, in __del__
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/gym/envs/classic_control/rendering.py", line 62, in close
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/window/xlib/__init__.py", line 480, in close
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/xlib.py", line 345, in destroy
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/base.py", line 334, in destroy
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/xlib.py", line 335, in detach
  File "/home/ekele/anaconda3/envs/gpurl/lib/python3.6/site-packages/pyglet/gl/lib.py", line 97, in errcheck
ImportError: sys.meta_path is None, Python is likely shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant