I'm trying to install a python-package defined by pryproject.toml and setup.cfg file. I was able to install the package using `pip install .`` in Ubuntu 20.04.1 LTS. But I get the following error when I try install in python virtual environment (python 3.9) in Macbook with m1 chip.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for greenlet
Building wheel for roundrobin (pyproject.toml) ... done
Created wheel for roundrobin: filename=roundrobin-0.0.4-py3-none-any.whl size=4017 sha256=d7f7d00ddb6967eacd3f5cd086371e5ed2a4dc56017fcb1749750659544b49ef
Stored in directory: /private/var/folders/mm/c7m9dm551_v9_4gdd1zbps9r0000gn/T/pip-ephem-wheel-cache-911t0hws/wheels/f0/a5/95/f5228e0966ecd65b54419065aefc1892af1fc06652fcb9f4d0
Successfully built cortex python-multipart databricks-cli Flask-BasicAuth roundrobin
Failed to build greenlet
ERROR: Could not build wheels for greenlet, which is required to install pyproject.toml-based projects