Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
16.59k stars 4.09k forks source link

Fix the installation guide #6102

Open irekkosek opened 2 months ago

irekkosek commented 2 months ago

Describe the bug Installation guide is obviously flawed with numpy and python versions mismatch.

To Reproduce Steps to reproduce the behavior: try following your own installation guide

Console logs / stack traces

 RuntimeWarning: NumPy 1.21.2 may not yet support Python 3.10.
       TypeError: CCompiler_spawn() got an unexpected keyword argument 'env'

Environment (please complete the following information):

XRFstudent commented 2 months ago

I had the same issue and fixed it by manually replicating the changes here: https://github.com/Unity-Technologies/ml-agents/pull/6082/files

Also, I think you need Unity 2023.2+ ?

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.