handria-ntoanina / unity-ml-tennis

About solving the tennis environment from Unity using a Multi Agent DDPG and a Multi Agent PPO
8 stars 3 forks source link

The API number is not compatible between Unity and python. Python API : API-4, Unity API : API-8. #1

Open Usmaniatech opened 5 years ago

Usmaniatech commented 5 years ago

https://github.com/kotogasy/unity-ml-tennis/blob/master/Multi%20Agent%20Deep%20Deterministic%20Policy%20Gradient.ipynb

I am running this file and I find the the error:

The API number is not compatible between Unity and python. Python API : API-4, Unity API : API-8.

I have run other examples, gym example using jupyter notebook and using CLI and they work perfectly fine. But as soon I run:

env = UnityEnvironment(file_name="../ml-agents-envs/mlagents/envs/Unity Environment.exe")

I get that error. I am using python 3.6 and ml-agents 0.8.1. If there is issue with unity and python version, other examples should not work as well.