Need help with using python 3.7 instead of 3.8

I try to follow this:

When I type python --version I get Python 3.8.5.

But the document clearly states:

This guide has been tested with Python 3.6 and 3.7. Python 3.8 is not supported at this time.

So I installed 3.7, which is located here:

C:\Users\clank\AppData\Local\Programs\Python\Python37

Now how can I follow this and the next steps onward: ml-agents/docs/Using-Virtual-Environment.md at release_10_docs · Unity-Technologies/ml-agents · GitHub

With python 3.7 instead of python 3.8.

Sorry, that section of the documentation is out of date; python 3.8 is supported and tested. I’ll update that section in the docs, and also check whether we can run with 3.9.

1 Like

Turns out python 3.9 will need a little more work - there’s nothing in ml-agents code specifically that prevents 3.9, but some of the dependencies don’t work out of the box.

A PR to clean up that part of the docs is here: Clarify Python 3.8 support by chriselion · Pull Request #4784 · Unity-Technologies/ml-agents · GitHub

Great it works with 3.8 now as well. I remember I tried setting up the ml-agent project with students when it was still using tensorflow 1.7 and it was such a pain to get it working on all the different laptops. So far it seems it goes a bit smoother now but I keep my fingers crossed. :slight_smile: