Error about the Flatland installattion

I follow the Quick Start by Anaconda(win10) as following:

    $ conda create python=3.6 --name flatland-rl
    $ conda activate flatland-rl
    $ conda install -c conda-forge cairosvg pycairo
    $ conda install -c anaconda tk
    $ pip install flatland-rl

But in last step,an error ocurred. It can’t execute “Using cached flatland-rl-2.2.2.tar.gz (3.3 MB)”. Then,it automatically download flatland-rl-2.2.1.tar.gz (5.1 MB).After that ,I can find the ‘‘flatland’’ and ‘‘flatland_rl-2.2.1.dist-info’’ in Anaconda path. But it can’t execute ‘‘flatland demo’’ and Basic Usage inhere.
Please help me!

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

plus2 : exmaple error as following:

test_flatland.py:None (test_flatland.py)
test_flatland.py:40: in
env_renderer.render_env(show=True, frames=False, show_observations=False)
D:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\rendertools.py:60: in render_env
show_predictions, frames, episode, step, selected_agent, return_image)
D:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\rendertools.py:528: in render_env
return_image=return_image
D:\anaconda\envs\flatland-rl\lib\site-packages\flatland\utils\rendertools.py:644: in render_env_svg
transitions = env.rail.grid[r, c]
E AttributeError: ‘NoneType’ object has no attribute ‘grid’
collected 0 items / 1 error