Open Coderx7 opened 1 year ago
pkg install binutils-is-llvm libandroid-execinfo -y CFLAGS+=" -UANDROID_API -DANDROID_API=31" MATHLIB=m pip install numpy==1.23.2
Hi are you facing this issue
$ pip install --force-reinstall faiss-cpu DEPRECATION: Loading egg at /data/data/com.termux/files/usr/lib/python3.11/site-packages/statsmodels-0.0.0-py3.11-linux-aarch64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330 Collecting faiss-cpu Using cached faiss-cpu-1.8.0.tar.gz (63 kB) Installing build dependencies ... done
Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting numpy (from faiss-cpu) Using cached numpy-1.26.4-cp311-cp311-linux_aarch64.whl Building wheels for collected packages: faiss-cpu Building wheel for faiss-cpu (pyproject.toml) ... error
error: subprocess-exited-with-error × Building wheel for faiss-cpu (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [12 lines of output] running bdist_wheel running build running build_py running build_ext building 'faiss._swigfaiss' extension swigging faiss/faiss/python/swigfaiss.i to faiss/faiss/python/swigfaiss_wrap.cpp swig -python -c++ -Doverride= -doxygen -Ifaiss -I/data/data/com.termux/files/usr/tmp/pip-build-env-ioqk4b0x/overlay/lib/python3.11/site-packages/numpy/core/include -Ifaiss -I/usr/local/include -DSWIGWORDSIZE64 -o faiss/faiss/python/swigfaiss_wrap.cpp faiss/faiss/python/swigfaiss.i Traceback (most recent call last): File "/data/data/com.termux/files/usr/bin/swig", line 5, in
Problem description
tried to install jupyter-ai by pip but faced build error.
here is the error log:
doing pip install --no-build-isolation didn't work either.
What steps will reproduce the bug?
do pip install jupyter-ai
What is the expected behavior?
to be installed just fine.
System information
termux-info: