Skip to content

Instantly share code, notes, and snippets.

@bgromov
Last active August 5, 2021 13:59
Show Gist options
  • Save bgromov/4044037ceff9b7a93eef8176d8ccf40c to your computer and use it in GitHub Desktop.
Save bgromov/4044037ceff9b7a93eef8176d8ccf40c to your computer and use it in GitHub Desktop.
NumPy in Pipenv: Could not build wheels for numpy which use PEP 517 and cannot be installed directly

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

Links

  1. Pipenv Issue #4576
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment