Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ $ cd $PREFIX/lib/
- ln -s libmupdf.so libmupdf-third.so
- .../usr/lib $ ln -s libmupdf.so libmupdf-third.so
- ln: failed to create symbolic link 'libmupdf-third.so': File exists
- .../usr/lib $ pip install pymupdf Collecting pymupdf Using cached PyMuPDF-1.24.10.tar.gz (47.0 MB)
- Getting requirements to build wheel ... done
- Installing backend dependencies ... error
- error: subprocess-exited-with-error
- × pip subprocess to install backend dependencies did not run successfully.
- │ exit code: 1
- ╰─> [42 lines of output]
- Collecting setuptools
- Using cached setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
- Collecting swig
- Using cached swig-4.2.1.tar.gz (27 kB)
- Installing build dependencies: started
- Installing build dependencies: finished with status 'done'
- Getting requirements to build wheel: started
- Getting requirements to build wheel: finished with status 'done'
- Preparing metadata (pyproject.toml): started
- Preparing metadata (pyproject.toml): finished with status 'done'
- Collecting libclang
- Using cached libclang-18.1.1-py2.py3-none-any.whl
- Using cached setuptools-75.1.0-py3-none-any.whl (1.2 MB)
- Building wheels for collected packages: swig
- Building wheel for swig (pyproject.toml): started
- Building wheel for swig (pyproject.toml): finished with status 'error'
- error: subprocess-exited-with-error
- × Building wheel for swig (pyproject.toml) did not run successfully.
- │ exit code: 1
- ╰─> [15 lines of output]
- /data/data/com.termux/files/usr/tmp/pip-build-env-gunh_s5n/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-gunh_s5n/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-gunh_s5n/overlay/lib/python3.11/site-packages/skbuild/setuptools_wrap.py", line 639, in setup
- cmkr = cmaker.CMaker(cmake_executable)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/data/data/com.termux/files/usr/tmp/pip-build-env-gunh_s5n/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-gunh_s5n/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 swig
- Failed to build swig
- ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (swig)
- [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.
- .../usr/lib $
Advertisement
Add Comment
Please, Sign In to add comment