google-deepmind/ai-safety-gridworlds

Add Python 3 compatibility

stevenschmatz opened this issue · 4 comments

I'm curious to find why Python 2.7.13 was chosen. To me, it would seem to make more sense if Python 3 compatibility was at least added with __future__ statements.

Thanks for your question! Python 2.7 was chosen because it is the version of choice at DeepMind/Google. We are using some future imports, but haven't tested Python 3 compatibility. If you want to make a pull request, we'd be delighted to review it. :)

pierg commented

Hello,
Any news about the python 3 compatibility? I have an A2C implementation of the agent in python 3 and I am experiencing compatibility problems when I connect it to the gridworld-safety environment and pycolab libraries.
Thanks!! :)

Latest version of the library now adds support for both py2 and py3.