Ml-agents: ML-Agents Beta 0.10.0 , The API number is not compatible between Unity and python

Created on 7 Oct 2019  路  2Comments  路  Source: Unity-Technologies/ml-agents

*
Hi ,

First of all Thanks to Unity for providing this Splendid ML-Agents .

Getting below error with latest version , please help.

1) Checked out latest ML-Agents Beta 0.10.0 .

2) As mentioned in release note "ML-Agents is now compatible with Python v3.7 and newer versions of Tensorflow up to 1.14" , used Python3.7 and Tensorflow 1.14 to create a new Anaconda Env.

mlagents 0.10.0 pypi_0 pypi
mlagents-envs 0.10.0 pypi_0 pypi
tensorboard 1.14.0 pypi_0 pypi
tensorflow 1.14.0 pypi_0 pypi
python 3.7.4 h5263a28_0

3) Getting Error -> mlagents.envs.exception.UnityEnvironmentException: The API number is not compatible between Unity and python. Python API : API-10, Unity API : API-9.

Thanks
M ANILKUMAR

bug

All 2 comments

Hi @graybob,
It looks like you need to upgrade your UnitySDK folder in your unity project based on this line:

Getting Error -> mlagents.envs.exception.UnityEnvironmentException: The API number is not compatible between Unity and python. Python API : API-10, Unity API : API-9.

Please replace your UnitySDK folder with the one in the 0.10.0 release. This should fix your issue.

Thanks a lot Chris for the solution , it works.
Closing issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scotthovestadt picture scotthovestadt  路  4Comments

DVonk picture DVonk  路  3Comments

mattinjersey picture mattinjersey  路  3Comments

DavidLining picture DavidLining  路  3Comments

dlindmark picture dlindmark  路  3Comments