Open Ivansek opened 8 years ago
Executing $ python setup.py install on MacOSX 10.11.2 fails with the following error:
$ python setup.py install
EOF _configtest.c:1:5: warning: incompatible redeclaration of library function 'exp' [-Wincompatible-library-redeclaration] int exp (void); ^ _configtest.c:1:5: note: 'exp' is a builtin with type 'double (double)' 1 warning generated. File: build/src.macosx-10.10-x86_64-2.7/numpy/core/include/numpy/_numpyconfig.h #define NPY_SIZEOF_SHORT SIZEOF_SHORT #define NPY_SIZEOF_INT SIZEOF_INT #define NPY_SIZEOF_LONG SIZEOF_LONG #define NPY_SIZEOF_FLOAT 4 #define NPY_SIZEOF_COMPLEX_FLOAT 8 #define NPY_SIZEOF_DOUBLE 8 #define NPY_SIZEOF_COMPLEX_DOUBLE 16 #define NPY_SIZEOF_LONGDOUBLE 16 #define NPY_SIZEOF_COMPLEX_LONGDOUBLE 32 #define NPY_SIZEOF_PY_INTPTR_T 8 #define NPY_SIZEOF_OFF_T 8 #define NPY_SIZEOF_PY_LONG_LONG 8 #define NPY_SIZEOF_LONGLONG 8 #define NPY_NO_SMP 0 #define NPY_HAVE_DECL_ISNAN #define NPY_HAVE_DECL_ISINF #define NPY_HAVE_DECL_ISFINITE #define NPY_HAVE_DECL_SIGNBIT #define NPY_USE_C99_COMPLEX 1 #define NPY_HAVE_COMPLEX_DOUBLE 1 #define NPY_HAVE_COMPLEX_FLOAT 1 #define NPY_HAVE_COMPLEX_LONG_DOUBLE 1 #define NPY_USE_C99_FORMATS 1 #define NPY_VISIBILITY_HIDDEN __attribute__((visibility("hidden"))) #define NPY_ABI_VERSION 0x01000009 #define NPY_API_VERSION 0x0000000A #ifndef __STDC_FORMAT_MACROS #define __STDC_FORMAT_MACROS 1 #endif EOF warning: no previously-included files matching '*.pyo' found anywhere in distribution warning: no previously-included files matching '*.pyd' found anywhere in distribution /private/var/folders/bp/8q4qkzb16q19kzff5zk0y0vw0000gn/T/easy_install-QgFSCp/pandas-0.15.2/temp/easy_install-g_kVHr/numpy-1.11.0/numpy/core/src/npymath/npy_math.c.src:56:10: fatal error: 'npy_math_private.h' file not found #include "npy_math_private.h" ^ 1 error generated. /private/var/folders/bp/8q4qkzb16q19kzff5zk0y0vw0000gn/T/easy_install-QgFSCp/pandas-0.15.2/temp/easy_install-g_kVHr/numpy-1.11.0/numpy/core/src/npymath/npy_math.c.src:56:10: fatal error: 'npy_math_private.h' file not found #include "npy_math_private.h" ^ 1 error generated. error: Setup script exited with error: Command "clang -fno-strict-aliasing -fno-common -dynamic -I/usr/local/include -I/usr/local/opt/sqlite/include -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/private/var/folders/bp/8q4qkzb16q19kzff5zk0y0vw0000gn/T/easy_install-QgFSCp/pandas-0.15.2/temp/easy_install-g_kVHr/numpy-1.11.0/numpy/core/include -Ibuild/src.macosx-10.10-x86_64-2.7/numpy/core/include/numpy -I/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/include/python2.7 -Ibuild/src.macosx-10.10-x86_64-2.7/numpy/core/src/private -Ibuild/src.macosx-10.10-x86_64-2.7/numpy/core/src/private -Ibuild/src.macosx-10.10-x86_64-2.7/numpy/core/src/private -c build/src.macosx-10.10-x86_64-2.7/numpy/core/src/npymath/npy_math.c -o build/temp.macosx-10.10-x86_64-2.7/build/src.macosx-10.10-x86_64-2.7/numpy/core/src/npymath/npy_math.o" failed with exit status 1
After upgrading pip $ pip install pip --upgrade I successfully installed latest pandas version, which is 0.18.1
$ pip install pip --upgrade
pandas
0.18.1
Executing
$ python setup.py install
on MacOSX 10.11.2 fails with the following error: