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

AttributeError: 'numpy.random.mtrand.RandomState' object has no attribute 'integers' #274

Open
mozturan opened this issue May 22, 2023 · 1 comment

Comments

@mozturan
Copy link

installation seems alright but i got this error when i run manual_control.py and i'm not sure if its about numpy version. (i tried with different numpy versions but it doesnt work at all)

Traceback (most recent call last):
  File "./manual_control.py", line 35, in <module>
    env = DuckietownEnv(
  File "/home/tinrafiq/Documents/gym-duckietown/src/gym_duckietown/envs/duckietown_env.py", line 16, in __init__
    Simulator.__init__(self, **kwargs)
  File "/home/tinrafiq/Documents/gym-duckietown/src/gym_duckietown/simulator.py", line 381, in __init__
    self.reset()
  File "/home/tinrafiq/Documents/gym-duckietown/src/gym_duckietown/simulator.py", line 675, in reset
    tile_idx = self.np_random.integers(0, len(self.drivable_tiles))
AttributeError: 'numpy.random.mtrand.RandomState' object has no attribute 'integers'

any solutions?

@KonstantinKondratenko
Copy link

same problem :(

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

2 participants