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

Having issue installing ml-agents

Open onurkrsrml opened this issue 1 year ago • 3 comments

File "/opt/anaconda3/envs/mlagents/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/opt/homebrew/bin/cmake', '--build', '.', '--', '-j', '8']' returned non-zero exit status 2. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for onnx Running setup.py clean for onnx Successfully built mlagents Failed to build onnx ERROR: Could not build wheels for onnx, which is required to install pyproject.toml-based projects

onurkrsrml avatar Jun 02 '24 00:06 onurkrsrml

You should install onnx python package pip install onnx

bilalfomo avatar Jun 04 '24 21:06 bilalfomo

I already did but the error was same

onurkrsrml avatar Jun 04 '24 23:06 onurkrsrml

Just modify the numpy version in ml-agents-env/setup.py from 1.21.2 to 1.23.5

nobu-sh avatar Jun 11 '24 17:06 nobu-sh

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

github-actions[bot] avatar Jul 11 '24 20:07 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale. Please open a new issue for related bugs.

github-actions[bot] avatar Jul 25 '24 20:07 github-actions[bot]