Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: __init__() got an unexpected keyword argument 'dtype' #13

Open
Lihe97 opened this issue Jun 18, 2020 · 0 comments
Open

TypeError: __init__() got an unexpected keyword argument 'dtype' #13

Lihe97 opened this issue Jun 18, 2020 · 0 comments

Comments

@Lihe97
Copy link

Lihe97 commented Jun 18, 2020

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant