TypeError: __init__() got an unexpected keyword argument 'dtype'
Lihe97 opened this issue · 0 comments
I ran the example code, but went wrong
macOs10.15 & py3.7
how can I fix it? thx :)
Traceback (most recent call last):
File "demo.py", line 141, in
env = gym.make("maze-random-10x10-plus-v0")
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gym/envs/registration.py", line 164, in make
return registry.make(id)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gym/envs/registration.py", line 122, in make
env = spec.make()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gym/envs/registration.py", line 89, in make
env = cls(**self._kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gym_maze-0.4-py3.7.egg/gym_maze/envs/maze_env.py", line 160, in init
super(MazeEnvRandom10x10Plus, self).init(maze_size=(10, 10), mode="plus", enable_render=enable_render)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/gym_maze-0.4-py3.7.egg/gym_maze/envs/maze_env.py", line 49, in init
self.observation_space = spaces.Box(low, high, dtype=np.int64)
TypeError: init() got an unexpected keyword argument 'dtype'