Skip to content

setup.py install fails #3

Description

@ursomniac

numpyconfig.h:33:10: error:
"unknown architecture"
#error "unknown architecture"
^

There are additional warnings.
I'm trying to install under MacOS (10.14.6) under pipenv (Python 3.9).
So, platform.system() == 'Darwin' --- this SHOULD set -arch to x86_64 (line 21 in your setup.py) but when it gets to

#ifdef __x86_64
    #define NPY_SIZEOF_LONGDOUBLE         16
    #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32
#elif defined(__arm64__)
    #define NPY_SIZEOF_LONGDOUBLE         8
    #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 16
#else
    #error "unknown architecture"

it's bottoming out.

Please advise.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions