pycario install error on Android Termux app
I don't know if this is a problem with Termux or mat2 but just in case I'll open an issue. I have been struggling to install mat2 on the Termux app for a while, this is the error I get:
pip install mat2
Collecting mat2 Downloading mat2-0.13.1-py3-none-any.whl (38 kB) Collecting PyGObject Downloading PyGObject-3.42.2.tar.gz (719 kB) ━━━━━━━━━━ 719.5/719.5 1.6 MB/s eta 0:00:00 kB Installing build dependencies ... error error: subprocess-exited-with-error× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [45 lines of output] Collecting setuptools Downloading setuptools-66.1.1-py3-none-any.whl (1.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 1.8 MB/s eta 0:00:00 Collecting wheel Downloading wheel-0.38.4-py3-none-any.whl (36 kB) Collecting pycairo Downloading pycairo-1.23.0.tar.gz (344 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 344.6/344.6 kB 4.9 MB/s eta 0:00:00 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' Installing backend dependencies: started Installing backend dependencies: finished with status 'done' Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: pycairo Building wheel for pycairo (pyproject.toml): started Building wheel for pycairo (pyproject.toml): finished with status 'error' error: subprocess-exited-with-error
× Building wheel for pycairo (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-cpython-311
creating build/lib.linux-aarch64-cpython-311/cairo
copying cairo/__init__.py -> build/lib.linux-aarch64-cpython-311/cairo
copying cairo/__init__.pyi -> build/lib.linux-aarch64-cpython-311/cairo
copying cairo/py.typed -> build/lib.linux-aarch64-cpython-311/cairo
running build_ext
Package cairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo' found
Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']' returned non-zero exit status 1.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycairo
Failed to build pycairo
ERROR: Could not build wheels for pycairo, which is required to install pyproject.toml-based projects
[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 build 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.