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

Closed
onurkrsrml opened this issue Jun 2, 2024 · 5 comments
Closed

Having issue installing ml-agents #6120

onurkrsrml opened this issue Jun 2, 2024 · 5 comments
Labels
bug Issue describes a potential bug in ml-agents. stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long.

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

Copy link

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

@github-actions github-actions bot added the stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long. label Jul 11, 2024
Copy link

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 github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
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. stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long.
Projects
None yet
Development

No branches or pull requests

3 participants