Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py fails installing pandas on MacOSX #1

Open
Ivansek opened this issue May 25, 2016 · 1 comment
Open

setup.py fails installing pandas on MacOSX #1

Ivansek opened this issue May 25, 2016 · 1 comment

Comments

@Ivansek
Copy link
Member

Ivansek commented May 25, 2016

Executing $ python setup.py install on MacOSX 10.11.2 fails with the following error:

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
@Ivansek
Copy link
Member Author

Ivansek commented May 25, 2016

After upgrading pip $ pip install pip --upgrade I successfully installed latest pandas version, which is 0.18.1

@Ivansek Ivansek closed this as completed May 25, 2016
@Ivansek Ivansek reopened this May 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant