Closed guidesc closed 6 years ago
It could be a version difference, could you please run conda list
and compare with requirements.txt? Or you can run gym.__version__
from python and compare that.
Thanks, it is a version issue. My gym version is 0.10.4
. Then I tried to create a virtualenv
and pip install gym==0.9.3
, it works well.
Thank you. I'm really curious what has been updating in 0.10.4 version of gym.
No problems, glad it works now
Looks like breaking changes were probobly in 0.9.6. They probably did it because of the robotics environments release that happened around the same time (I guess).
my gym version is 0.10.5. Get the same error. Any update to the code apart from the virtualenv? Thanks
Hi Wassname,
Thanks for open source your code. However, when I tried to run the following code to create an env.
I also tried
gym.spaces.Box(0.0, 1.0, shape=5)
, it has the same error. While then I triedgym.spaces.Box(0.0, 1.0, shape=(5,))
, it works well.However, I tried to update your code with
self.action_space = gym.spaces.Box(0.0, 1.0, shape=(nb_assets + 1, ))
, it still did not work well.Could you please help me on that?
Thx in advance.