NotImplementedError: This environment is not supported.
I am receiving an error when i try to run the Simple_Rendering_Demo.ipynb
notebook. I am running the notebook on OSX Mojave 10.14 / cairo: stable 1.16.0 / pkg-config: stable 0.29.2 .Can someone help me out here?
---------------------------------------------------------------------------
NotImplementedError Traceback (most recent call last)
<ipython-input-7-4f27bdfe41e5> in <module>
----> 1 oRT = rt.RenderTool(env,gl="PILSVG")
2 oRT.renderEnv()
3 img = oRT.getImage()
~/Projects/flatland/getting_started/envs/flatland/lib/python3.7/site-packages/flatland_rl-0.1.1-py3.7.egg/flatland/utils/rendertools.py in __init__(self, env, gl, jupyter)
40 self.gl = PILGL(env.width, env.height, jupyter)
41 elif gl == "PILSVG":
---> 42 self.gl = PILSVG(env.width, env.height, jupyter)
43 else:
44 print("[", gl, "] not found, switch to PILSVG")
~/Projects/flatland/getting_started/envs/flatland/lib/python3.7/site-packages/flatland_rl-0.1.1-py3.7.egg/flatland/utils/graphics_pil.py in __init__(self, width, height, jupyter)
256 def __init__(self, width, height, jupyter=False):
257 oSuper = super()
--> 258 oSuper.__init__(width, height, jupyter)
259
260 self.lwAgents = []
~/Projects/flatland/getting_started/envs/flatland/lib/python3.7/site-packages/flatland_rl-0.1.1-py3.7.egg/flatland/utils/graphics_pil.py in __init__(self, width, height, jupyter)
46 self.screen_width = 99999
47 self.screen_height = 99999
---> 48 for m in get_monitors():
49 self.screen_height = min(self.screen_height, m.height)
50 self.screen_width = min(self.screen_width, m.width)
~/Projects/flatland/.eggs/screeninfo-0.3.1-py3.7.egg/screeninfo/screeninfo.py in get_monitors(name)
410 def get_monitors(name=None):
411 """Returns a list of :class:`Monitor` objects based on active monitors."""
--> 412 enumerator = _ENUMERATORS[name] if name else _get_enumerator()
413 return enumerator()
414
~/Projects/flatland/.eggs/screeninfo-0.3.1-py3.7.egg/screeninfo/screeninfo.py in _get_enumerator()
405 except:
406 pass
--> 407 raise NotImplementedError('This environment is not supported.')
408
409
NotImplementedError: This environment is not supported.