Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having issue installing ml-agents #6120

Open
onurkrsrml opened this issue Jun 2, 2024 · 3 comments
Open

Having issue installing ml-agents #6120

onurkrsrml opened this issue Jun 2, 2024 · 3 comments
Labels
bug Issue describes a potential bug in ml-agents.

Comments

@onurkrsrml
Copy link

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 onurkrsrml added the bug Issue describes a potential bug in ml-agents. label Jun 2, 2024
@bilalfomo
Copy link

You should install onnx python package
pip install onnx

@onurkrsrml
Copy link
Author

I already did but the error was same

@nobu-sh
Copy link

nobu-sh commented Jun 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue describes a potential bug in ml-agents.
Projects
None yet
Development

No branches or pull requests

3 participants