-
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
python3 #1
Comments
I'm able to run all of the example simulations if I initalize imports wherver you see StringIO, xrange, and urlparse with: try: try: try: I'm sure there are other dependencies and this is bad, but I'm able to play around. |
As someone who isn't familiar with this stuff but is eager to learn, why doesn't it work correctly with 3.5+? What is the advantage of 2.7? |
No real advantage of 2 over 3 actually. Quite the opposite usually. There are just some incompatible/deprecated modules/keywords/libraries like StringIO, urlparse, xrange... |
A library like python-future makes writing both py2 and py3 compatible code a bit easier. |
is there a pull request with the changes? |
Pull request for this: #22 |
Merged! Python 3 support is experimental, for now. Check out the instructions on https://github.com/openai/gym to clone the repo (didn't cut a new release for pip install yet). |
Enable learning from pixels in the environment
Comment version history
It would be great if gym could support python3 for future proofing and supporting transition efforts.
The text was updated successfully, but these errors were encountered: