ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Problem with migration from v0.5 to v0.6: How to update Python API?

Open oseq opened this issue 7 years ago • 5 comments

Hello i have problem during migration, i pulled v0.6 version from git and everything works fine until i try to learn new model.

i have error on anaconda side:

mlagents.envs.exception.UnityEnvironmentException: The API number is not compatible between Unity and python. Python API : API-5, Unity API : API-6. Please go to https://github.com/Unity-Technologies/ml-agents to download the latest version of ML-Agents.

So i am using newest version of ml-agents, so how to update Python API?

oseq avatar Dec 19 '18 19:12 oseq

I had the same issue. Doing this fixed it: cd C:\Downloads\ml-agents\ml-agents pip install .

13Flo avatar Dec 20 '18 00:12 13Flo

Hi @oseq, as @13Flo mentioned, you will need to re-install the python package in order to have the latest version of the API. Please let us know if their fix works for you.

awjuliani avatar Dec 20 '18 19:12 awjuliani

@13Flo @awjuliani thanks, it fixed the problem

oseq avatar Jan 02 '19 11:01 oseq

@oseq You're welcome. You might want to close the issue now then ;)

13Flo avatar Jan 02 '19 16:01 13Flo

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 02 '20 21:01 lock[bot]