Plus:demo error as following:
Traceback (most recent call last):
File “d:\anaconda\envs\flatland-rl\lib\runpy.py”, line 193, in _run_module_as_main
“main”, mod_spec)
File “d:\anaconda\envs\flatland-rl\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "D:\anaconda\envs\flatland-rl\Scripts\flatland-demo.exe_main.py", line 7, in
File “d:\anaconda\envs\flatland-rl\lib\site-packages\click\core.py”, line 1137, in call
return self.main(*args, **kwargs)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\click\core.py”, line 1062, in main
rv = self.invoke(ctx)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\click\core.py”, line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\click\core.py”, line 763, in invoke
return callback(*args, **kwargs)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\cli.py”, line 47, in demo
show_predictions=False
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\rendertools.py”, line 60, in render_env
show_predictions, frames, episode, step, selected_agent, return_image)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\rendertools.py”, line 528, in render_env
return_image=return_image
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\rendertools.py”, line 744, in render_env_svg
self.gl.show()
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\graphics_pgl.py”, line 64, in show
self.processEvents()
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\graphics_pgl.py”, line 90, in processEvents
self.window.dispatch_events()
File "d:\anaconda\envs\flatland-rl\lib\site-packages\pyglet\window\win32_init.py", line 615, in dispatch_events
self.dispatch_pending_events()
File "d:\anaconda\envs\flatland-rl\lib\site-packages\pyglet\window\win32_init.py", line 628, in dispatch_pending_events
EventDispatcher.dispatch_event(self, *event)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\pyglet\event.py”, line 357, in dispatch_event
if handler(*args):
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\graphics_pgl.py”, line 41, in on_resize
self.show(from_event=True)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\graphics_pgl.py”, line 76, in show
pgl_image.blit(0,0)
File "d:\anaconda\envs\flatland-rl\lib\site-packages\pyglet\image_init.py", line 931, in blit
self.get_texture().blit(x, y, z, width, height)
File "d:\anaconda\envs\flatland-rl\lib\site-packages\pyglet\image_init.py", line 1718, in blit
glInterleavedArrays(GL_T4F_V4F, 0, array)
File “d:\anaconda\envs\flatland-rl\lib\site-packages\pyglet\gl\lib.py”, line 105, in errcheck
raise GLException(msg)
pyglet.gl.lib.GLException: None