-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels