'Can't install mlagents on M1 Mac
I tired pip install mlagents on M1 mac to install mlagents, but an error happened.
environment
- python 3.7.13
- m1 mac
error message
$ pip install mlagents
Collecting mlagents
Using cached mlagents-0.29.0-py3-none-any.whl (164 kB)
Collecting grpcio>=1.11.0
Using cached grpcio-1.46.0.tar.gz (21.8 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute `setup.py` since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
