-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Pip Install Pandas 0.23.4 on Python 3.7 #3012
Description
Hi,
Build tools installed as termux packages.
I got around issues building numpy by installing the package from it's pointless.
The other prerequisites seem to install OK by pip.
But Pandas itself fails to build.
I can see from Google that previous versions have installed OK, but can't find any confirmation of anyone having success with the latest versions (0.23.4 on 3.7).
Any ideas or pointers.
I've tried this - no luck:
LD_FLAGS=" -lm" pip3 install -vvv pandas
The other prerequisites seems to install ok
copying pandas/_libs/tslibs/init.py -> build/lib.linux-armv7l-3.7/pandas/_libs/tslibs
creating build/lib.linux-armv7l-3.7/pandas/api/types
copying pandas/api/types/init.py -> build/lib.linux-armv7l-3.7/pandas/api/types
creating build/lib.linux-armv7l-3.7/pandas/api/extensions
copying pandas/api/extensions/init.py -> build/lib.linux-armv7l-3.7/pandas/api/extensions
creating build/lib.linux-armv7l-3.7/pandas/io/formats/templatescopying pandas/io/formats/templates/html.tpl -> build/lib.linux-armv7l-3.7/pandas/io/formats/templates
UPDATING build/lib.linux-armv7l-3.7/pandas/_version.py set build/lib.linux-armv7l-3.7/pandas/_version.py to '0.23.4'
running build_extbuilding 'pandas._libs.algos' extension creating build/temp.linux-armv7l-3.7
creating build/temp.linux-armv7l-3.7/pandas creating build/temp.linux-armv7l-3.7/pandas/_libs arm-linux-androideabi-clang -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -Os -march=armv7-a -mfpu=neon -mfloat-abi=softfp -mthumb -Os -fPIC -Ipandas/_libs/src/klib -Ipandas/_libs/src -I/data/data/com.termux/files/usr/lib/python3.7/site-packages/numpy-1.15.2-py3.7-linux-armv8l.egg/numpy/core/include -I/data/data/com.termux/files/usr/include/python3.7m -c pandas/_libs/algos.c -o build/temp.linux-armv7l-3.7/pandas/_libs/algos.o -Wno-unused-function
In file included from pandas/_libs/algos.c:567: In file included from /data/data/com.termux/files/usr/lib/python3.7/site-packages/numpy-1.15.2-py3.7-linux-armv8l.egg/numpy/core/include/numpy/arrayobject.h:4: In file included from /data/data/com.termux/files/usr/lib/python3.7/site-packages/numpy-1.15.2-py3.7-linux-armv8l.egg/numpy/core/include/numpy/ndarrayobject.h:18:In file included from /data/data/com.termux/files/usr/lib/python3.7/site-packages/numpy-1.15.2-py3.7-linux-armv8l.egg/numpy/core/include/numpy/ndarraytypes.h:1821:
/data/data/com.termux/files/usr/lib/python3.7/site-packages/numpy-1.15.2-py3.7-linux-armv8l.egg/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2:
warning: "Using deprecated NumPy API, disable it by ""#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings] #warning "Using deprecated NumPy API, disable it by " \ ^
clang-7: error: unable to execute command: Segmentation fault clang-7:
error: clang frontend command failed due to signal (use -v to see invocation)
clang version 7.0.0 (tags/RELEASE_700/final) Target: arm--linux-android Thread model: posix InstalledDir: /data/data/com.termux/files/usr/bin clang-7: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
clang-7: note: diagnostic msg:******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at:
clang-7: note: diagnostic msg: /data/data/com.termux/files/usr/tmp/algos-493413.c
clang-7: note: diagnostic msg: /data/data/com.termux/files/usr/tmp/algos-493413.sh
clang-7: note: diagnostic msg: ******************** error: command 'arm-linux-androideabi-clang' failed with exit status 254 error Cleaning up...Removing source in /data/data/com.termux/files/usr/tmp/pip-install-ff8ecrsd/pandas