OS - MacOS X 10.15.7
Python version - 3.8.5
Install mechanism:
poetry - 1.0.5
pip - 20.2.3
Error Message:
clang -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/usr/local/var/pyenv/versions/3.8.5/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/usr/local/var/pyenv/versions/3.8.5/lib build/temp.macosx-10.15-x86_64-3.8/pandas/_libs/join.o -o build/lib.macosx-10.15-x86_64-3.8/pandas/_libs/join.cpython-38-darwin.so
building 'pandas._libs.lib' extension
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -Ipandas/_libs/src/klib -Ipandas/_libs/src -Ipandas/_libs/tslibs/src -Ipandas/_libs/tslibs -I/Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/lib/python3.8/site-packages/numpy/core/include -I/Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/include -I/usr/local/var/pyenv/versions/3.8.5/include/python3.8 -c pandas/_libs/lib.c -o build/temp.macosx-10.15-x86_64-3.8/pandas/_libs/lib.o -Wno-unused-function
In file included from pandas/_libs/lib.c:634:
In file included from /Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4:
In file included from /Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832:
/Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with "
^
In file included from pandas/_libs/lib.c:636:
pandas/_libs/src/parse_helper.h:141:26: error: implicit declaration of function 'tolower_ascii' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
for (; *p; ++p) *p = tolower_ascii(*p);
^
pandas/_libs/lib.c:39057:39: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_Seen.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39077:44: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_Validator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39091:48: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_BoolValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39105:51: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_IntegerValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39119:56: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_IntegerFloatValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39133:49: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_FloatValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39147:50: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_StringValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39161:51: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_UnicodeValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39175:49: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_BytesValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39191:52: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_TemporalValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39205:52: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_DatetimeValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39218:54: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_Datetime64Validator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39232:53: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_TimedeltaValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39245:56: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_AnyTimedeltaValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39258:48: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_DateValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39271:48: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_TimeValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39285:50: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_PeriodValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
pandas/_libs/lib.c:39298:52: warning: 'tp_print' is deprecated [-Wdeprecated-declarations]
__pyx_type_6pandas_5_libs_3lib_IntervalValidator.tp_print = 0;
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/cpython/object.h:260:5: note: 'tp_print' has been explicitly marked deprecated here
Py_DEPRECATED(3.8) int (*tp_print)(PyObject *, FILE *, int);
^
/usr/local/var/pyenv/versions/3.8.5/include/python3.8/pyport.h:515:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) attribute((deprecated))
^
19 warnings and 1 error generated.
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/40/c8b3smrj5fz8cv1zqqlc863wh1j1cg/T/pip-install-lebu_z7p/pandas/setup.py'"'"'; file='"'"'/private/var/folders/40/c8b3smrj5fz8cv1zqqlc863wh1j1cg/T/pip-install-lebu_z7p/pandas/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /private/var/folders/40/c8b3smrj5fz8cv1zqqlc863wh1j1cg/T/pip-record-wgykc9_b/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rohitus/Documents/Projects/KendravsESComparison/google_blogs_input_based/convert_xml_to_json/.venv/include/site/python3.8/pandas Check the logs for full command output.
Steps to repeat:
I have tried all the following mechanisms and they all give the same error:
- poetry add dataknead
- poetry add [email protected]
- poetry add pandas==0.24.2
- 2 step process
-- poetry add numpy==1.18.5
-- poetry add pandas==0.24.2
- 2 step process
-- poetry run pip install numpy==1.18.5
-- poetry run pip install pandas==0.24.2
Let me know what other information is needed.