-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Box2D environments import not working #1603
Comments
Seems to be with the prelim version, installing full version with pip install 'gym[all]' solved it. Perhaps a warning would be helpful. |
@sritee What python version you were using? |
I think it was 2.7. I could import Box2D, but the environments wasn't working, which made it confusing. |
I tried this but i got a wheel error. Anyone knows how to solve this? (...)
|
I was able to get |
Didn't solve my problem. Still getting wheel building error |
Adding the directory containing prebuilt swig.exe to %PATH% fixed
|
I'm having the same issue, I added the folder that was extracted to the path environment variable and yet it doesn't seem to be able to find swig, not even just swig -version works. Is extracting and adding the path the only steps needed for swig? |
You might ensure you editing PATH under "System Variables" (the bottom section, not the top). You add the folder containing |
For me a simple |
This worked for me. |
Thanks. this fixed it. |
====>>> Worked for me too on Ubuntu 20.04 LTS, python 3.8.5. |
$ pip install gym[all] .......didnt work for me, but $ conda install gym[all] .....worked. Win10, python 3.6 |
This post solved it for me. |
I have swig installed and added to path. Trying the swig -version command in the cmd gives the version but trying to install box 2d through any of the pip commands doesn't work and still gives me the "can't find swig.exe" error code. Unsure if I am making a mistake or this is a bug. Please help. |
In the latest version of Gym, there is now a python module that you would use. |
Currently, Box2D environments cannot be imported
The text was updated successfully, but these errors were encountered: