multiagent-particle-envs
multiagent-particle-envs copied to clipboard
Fix: ImportError: cannot import name 'prng'
https://github.com/openai/multiagent-particle-envs/issues/53
Change a random function to the new gym, and delete prng
function.
@zhaolongkzz why has this PR not been merged yet? I encountered the same problem. Are there any other changes that need to be made?
@veds12 you can install gym==0.10.5
or modify code like:
in code multiagent-particle-envs/multiagent/multi_discrete.py
import gym
# from gym.spaces import prng # prng has been canceled
# and change:
random_array = np.random.RandomState().rand(self.num_discrete_space)
Ya I figured that out from one of the issues. But why not merge this?
@veds12 maybe nobody updates this repository
This helps.
good job