T
Termux2mo ago
ping

help with installation lxml

They write Pip install lxml And it gives an error when building a wheel, and Numpy And when building the wheels we Numpy
Solution:
pkg up
pkg i python-numpy
pkg up
pkg i python-numpy
...
Jump to solution
5 Replies
ping
ping2mo ago
No description
twaik
twaik2mo ago
Post text, not screenshot...
ping
ping2mo ago
Seconds Building wheel for patchelf (pyproject.toml): started Building wheel for patchelf (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for patchelf (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [11 lines of output] Traceback (most recent call last): File "/data/data/com.termux/files/usr/tmp/pip-build-env-qmci0t6n/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 643, in setup cmkr = cmaker.CMaker(cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-qmci0t6n/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 145, in init self.cmake_version = get_cmake_version(self.cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-qmci0t6n/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 102, in get_cmake_version raise SKBuildError(msg) from err Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for patchelf Building wheel for ninja (pyproject.toml): started Building wheel for ninja (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error × Building wheel for ninja (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [15 lines of output] /data/data/com.termux/files/usr/tmp/pip-build-env-61z7oav5/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:312: UserWarning: git archive did not support describe output warnings.warn("git archive did not support describe output") /data/data/com.termux/files/usr/tmp/pip-build-env-61z7oav5/overlay/lib/python3.11/site-packages/setuptools_scm/git.py:331: UserWarning: unprocessed git archival found (no export subst applied) warnings.warn("unprocessed git archival found (no export subst applied)") Traceback (most recent call last): File "/data/data/com.termux/files/usr/tmp/pip-build-env-61z7oav5/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 643, in setup cmkr = cmaker.CMaker(cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-61z7oav5/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 145, in init self.cmake_version = get_cmake_version(self.cmake_executable) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/data/com.termux/files/usr/tmp/pip-build-env-61z7oav5/overlay/lib/python3.11/site-packages/skbuild/cmaker.py", line 102, in get_cmake_version raise SKBuildError(msg) from err Problem with the CMake installation, aborting build. CMake executable is cmake [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ninja Failed to build patchelf ninja ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (patchelf, ninja) [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error × pip subprocess to install backend dependencies did not run successfully. │ exit code: 1 ╰─> See above for output note: This error originates from a subprocess, and is likely not a problem with pip. ~ $ pip install lxml Collecting lxml Using cached lxml-5.2.2.tar.gz (3.7 MB) Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: lxml Building wheel for lxml (pyproject.toml) ... |infinity build wheel, 1 min=error
Solution
TomIO
TomIO2mo ago
pkg up
pkg i python-numpy
pkg up
pkg i python-numpy
dr.doom5771
dr.doom57712mo ago
there are some trouble installing numbpy on android running termux and the solution is to download version of numpy specifically made for running on android though I never manage to find it also there is some mention of it on termux wiki
Want results from more Discord servers?
Add your server