Skip to content

Instantly share code, notes, and snippets.

@bgromov
Last active August 5, 2021 13:59

Revisions

  1. bgromov revised this gist Aug 5, 2021. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # 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, e.g. `pandas`.
    Problem appears on macOS BigSur when trying to install `numpy` or packages that depend on it with `pipenv`, e.g. `pandas`.

    ```bash
    $ SYSTEM_VERSION_COMPAT=1 pipenv install numpy
    @@ -15,4 +15,4 @@ $ pipenv install numpy

    ## Links

    1. https://github.com/pypa/pipenv/issues/4576#issuecomment-751639556
    1. [Pipenv Issue #4576](https://github.com/pypa/pipenv/issues/4576#issuecomment-751639556)
  2. bgromov created this gist Aug 5, 2021.
    18 changes: 18 additions & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    # 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, e.g. `pandas`.

    ```bash
    $ SYSTEM_VERSION_COMPAT=1 pipenv install numpy
    ```

    or

    ```bash
    $ export SYSTEM_VERSION_COMPAT=1
    $ pipenv install numpy
    ```

    ## Links

    1. https://github.com/pypa/pipenv/issues/4576#issuecomment-751639556