NumPy in Pipenv: Could not build wheels for numpy which use PEP 517 and cannot be installed directly
Problem appears on macOS BigSur when trying to install numpy
or packages that depend on it with pipenv
, e.g. pandas
.
$ SYSTEM_VERSION_COMPAT=1 pipenv install numpy
or
$ export SYSTEM_VERSION_COMPAT=1
$ pipenv install numpy