MultiNEAT
MultiNEAT copied to clipboard
Problem about running 'pole_balancing.py'
When I run the pole_balancing.py,the problem will be happen:
ERROR Information:
Traceback (most recent call last):
File "D:/pythonproject/pole_balancing.py", line 52, in
NotImplementedError: abstract
Exception ignored in: <bound method Viewer.del of <gym.envs.classic_control.rendering.Viewer object at 0x000001606D31D668>>
Traceback (most recent call last):
File "D:\Anaconda\lib\site-packages\gym\envs\classic_control\rendering.py", line 143, in del
self.close()
File "D:\Anaconda\lib\site-packages\gym\envs\classic_control\rendering.py", line 62, in close
self.window.close()
AttributeError: 'Viewer' object has no attribute 'window'
Process finished with exit code 1
But when I note ‘import MultiNEAT as NEAT’ by using '#', the ‘env.render()’ can be normal used.I don't know why.
You need pythonw on windows or python.app on mac to run python scripts that need access to window sybsystem