Closed worikgh closed 5 years ago
Here is solution.
pip3 install box2d-py box2d-kengz Box2D
The reccomendation at that link is that you need box2d-py
and NOT Box2D
. But I made most progress with them both.
Get another error:
TypeError: Object of type int64 is not JSON serializable
At:
File "/usr/lib/python3.7/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
I think. But python is all magic incantation to me so I do not think I can get further than that
Yes, I have managed to get it working by installing box2d-py
and then editing the python script a little but I would like to make sure that there are no breaking changes. Sorry for the inconvenience, this is at a very early stage because the original repo gym-http-api seems to be abandoned.
This week I will try rebuilding the Python script to make it work properly and support the latest version of the dependencies. I will support these environments. I don't know why it doesn't support the "Hopper-v2" and "Ant-v2". Maybe the version of the gym library.
Again, sorry for the inconvenience but just letting you know that I am actively working on it.
Even though I got it working the results are far from great because of an issue in December of 2018. I think that working with the latest versions of the library will get rid of a lot of problems.
Hello @worikgh, the issues with CarRacing-v0
are now solved. I have not been able to try the Hopper-v2
because you need a mojuco license. I have asked for it, but it will take a while. Check out the release notes.
I have been playing with
basic-rs
replacingCartPole-v0
with envs from OpenAI. Some work some do not. The ones that fail seem to fail here:I had errors with:
CarRacing-v0
CarRacing-v0 Both had same error
Ant-v2
Hopper-v2 Both had same error
Apparently working:
Etcetera.
What can I do to help?