You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/camaral/miniconda3/envs/lbforaging/lib/python3.7/site-packages/gym/wrappers/order_enforcing.py", line 42, in reset
return self.env.reset(**kwargs)
File "/home/camaral/miniconda3/envs/lbforaging/lib/python3.7/site-packages/gym/wrappers/env_checker.py", line 45, in reset
return env_reset_passive_checker(self.env, **kwargs)
File "/home/camaral/miniconda3/envs/lbforaging/lib/python3.7/site-packages/gym/utils/passive_env_checker.py", line 192, in env_reset_passive_checker
result = env.reset(**kwargs)
File "/home/camaral/code/lb-foraging/lbforaging/foraging/environment.py", line 470, in reset
self.spawn_players(self.max_player_level)
File "/home/camaral/code/lb-foraging/lbforaging/foraging/environment.py", line 291, in spawn_players
row = self.np_random.randint(0, self.rows)
AttributeError: 'numpy.random._generator.Generator' object has no attribute 'randint'
This is probably related to the NumPy version, but it doesn't say anywhere which version to use
Dependencies:
python=3.7.13
gym=0.26.2
numpy=1.21.6
The text was updated successfully, but these errors were encountered:
Hi. I just cloned the repo and tried to run the example in the readme file.
But then I got an error:
This is probably related to the NumPy version, but it doesn't say anywhere which version to use
Dependencies:
The text was updated successfully, but these errors were encountered: