Closed defencedog closed 10 months ago
Hey!
This is compilation error that comes from the cython part of phasepy. As you can see here, I have uploaded pre-compiled versions of phasepy for Python 3.6, 3.7, 3.8, and 3.9 for Windows. In any other case, pip will not find the wheel and attempt to compile. Which Python version and OS are you using? If using Windows, you could get the pre-compiled wheel if you use Python <=3.9. If using linux/mac os, you could easily get the compilers (and then the installation should proceed without any issues).
Regards, Gustavo
I am on Android arm64
with python3.9
Hi, I'm not sure how to proceed here. I don't think arm64 should be any issues, as phasepy works just fine on the M1 processor. However, I'm not sure how to compile specifically for an environment on Android e.e
Gustavo
Congratulations ... to you & me
Downgraded from Cython 3.0.8
to 0.29.32
Command used to build
tar -xf phasepy-0.0.52.tar.gz
cd phasepy-0.0.52/
MATHLIB=m CC=gcc pip install . -v
My compiler
Reading specs from /data/data/com.termux/files/usr/lib/gcc/arm-linux-androideabi/11.4.0/specs
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/data/data/com.termux/files/usr/libexec/gcc/arm-linux-androideabi/11.4.0/lto-wrapper
Target: arm-linux-androideabi
Configured with: /home/builder/.termux-build/gcc-11/src/configure --disable-dependency-tracking --prefix=/data/data/com.termux/files/usr --libdir=/data/data/com.termux/files/usr/lib --sbindir=/data/data/com.termux/files/usr/bin --disable-rpath --disable-rpath-hack --enable-initfini-array --enable-default-pie --enable-languages=c,c++,fortran,ada --enable-lto --enable-host-shared --enable-host-libquadmath --enable-libatomic --enable-libatomic-ifuncs=no --enable-libbacktrace --enable-libquadmath --enable-libgomp --enable-gold --enable-version-specific-runtime-libs --enable-eh-frame-hdr-for-static --disable-shared --disable-libmpx --disable-libssp --disable-libstdcxx --disable-multilib --disable-tls --with-libatomic --with-system-zlib --with-gmp=/data/data/com.termux/files/usr --with-mpfr=/data/data/com.termux/files/usr --with-mpc=/data/data/com.termux/files/usr --with-isl=/data/data/com.termux/files/usr --with-gxx-include-dir=/data/data/com.termux/files/usr/include/c++/v1 --program-suffix=-11 --with-arch=armv7-a --with-float=soft --with-fpu=vfp --with-stage1-ldflags=-specs=/home/builder/.termux-build/gcc-11/tmp/specs --host=arm-linux-androideabi --target=arm-linux-androideabi --disable-nls --enable-static --libexecdir=/data/data/com.termux/files/usr/libexec
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.4.0 (GCC)
Created wheel for phasepy: filename=phasepy-0.0.52-cp39-cp39-linux_armv8l.whl size=1618254 sha256=8363c8c4fce52138a130af77a3fbbe7dd07abbe738d58dc814b673c10c9ba3ea
Stored in directory: /data/data/com.termux/files/home/.cache/pip/wheels/da/7a/63/ab38a4a24696c8d47084784ed4e0f285df36117db3ab04e692
Successfully built phasepy
Installing collected packages: et-xmlfile, openpyxl, phasepy
Attempting uninstall: phasepy
Found existing installation: phasepy 0.0.52
Can't uninstall 'phasepy'. No files were found to uninstall.
Successfully installed et-xmlfile-1.1.0 openpyxl-3.1.2 phasepy-0.0.52
I had installed previous version without any error but upgrading gives this error. Current installed version
New version error...