ML-Agents python error

Hi,

I’m making my first ML-Agents project after completing the Hummingbird tutorial, and I’m getting the following error:

WARNING: The communication API versions between Unity and python differ at the minor version level. Python API: 1.5.0, Unity API: 1.0.0 Python Library Version: 0.25.0 .
This means that some features may not work unless you upgrade the package with the lower version.Please find the versions that work best together from our release page.
Python package version (0.25.0) is out of the supported range or not from an official release. It is strongly recommended that you use a Python package between 0.16.1 and 0.20.0. Training will proceed, but the output format may be different.

Any idea what these errors are caused by and how to fix them? My python version is 3.7.1, and my mlagents version is 1.0.7 as far as I can tell (the Unity Registry release).

Thanks!

Please take a look at the ML-Agents release doc to see which version of the python package you need to install. It looks like 1.0.7 recommends the 0.16.1 python version.

Thanks so much! That worked like a charm. :slight_smile:

1 Like