Guest User

Untitled

a guest
Sep 30th, 2024
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. ~ $ cd $PREFIX/lib/
  2. ln -s libmupdf.so libmupdf-third.so
  3. .../usr/lib $ ln -s libmupdf.so libmupdf-third.so
  4. ln: failed to create symbolic link 'libmupdf-third.so': File exists
  5. .../usr/lib $ pip install pymupdf Collecting pymupdf Using cached PyMuPDF-1.24.10.tar.gz (47.0 MB)
  6. Getting requirements to build wheel ... done
  7. Installing backend dependencies ... error
  8. error: subprocess-exited-with-error
  9.  
  10. × pip subprocess to install backend dependencies did not run successfully.
  11. │ exit code: 1
  12. ╰─> [42 lines of output]
  13. Collecting setuptools
  14. Using cached setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
  15. Collecting swig
  16. Using cached swig-4.2.1.tar.gz (27 kB)
  17. Installing build dependencies: started
  18. Installing build dependencies: finished with status 'done'
  19. Getting requirements to build wheel: started
  20. Getting requirements to build wheel: finished with status 'done'
  21. Preparing metadata (pyproject.toml): started
  22. Preparing metadata (pyproject.toml): finished with status 'done'
  23. Collecting libclang
  24. Using cached libclang-18.1.1-py2.py3-none-any.whl
  25. Using cached setuptools-75.1.0-py3-none-any.whl (1.2 MB)
  26. Building wheels for collected packages: swig
  27. Building wheel for swig (pyproject.toml): started
  28. Building wheel for swig (pyproject.toml): finished with status 'error'
  29. error: subprocess-exited-with-error
  30.  
  31. × Building wheel for swig (pyproject.toml) did not run successfully.
  32. │ exit code: 1
  33. ╰─> [15 lines of output]
  34. /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
  35. warnings.warn("git archive did not support describe output")
  36. /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)
  37. warnings.warn("unprocessed git archival found (no export subst applied)")
  38. Traceback (most recent call last):
  39. 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
  40. cmkr = cmaker.CMaker(cmake_executable)
  41. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  42. 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__
  43. self.cmake_version = get_cmake_version(self.cmake_executable)
  44. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  45. 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
  46. raise SKBuildError(msg) from err
  47.  
  48. Problem with the CMake installation, aborting build. CMake executable is cmake
  49. [end of output]
  50.  
  51. note: This error originates from a subprocess, and is likely not a problem with pip.
  52. ERROR: Failed building wheel for swig
  53. Failed to build swig
  54. ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (swig)
  55. [end of output]
  56.  
  57. note: This error originates from a subprocess, and is likely not a problem with pip.
  58. error: subprocess-exited-with-error
  59.  
  60. × pip subprocess to install backend dependencies did not run successfully.
  61. │ exit code: 1
  62. ╰─> See above for output.
  63.  
  64. note: This error originates from a subprocess, and is likely not a problem with pip.
  65. .../usr/lib $
Advertisement
Add Comment
Please, Sign In to add comment