bluppfisk / coindicator

A crypto-currency (Bitcoin, Ethereum et al) market price indicator for the Linux desktop. Sits in the tray and lets you set alerts. Supports GNOME, Unity and KDE.
MIT License
160 stars 40 forks source link

Error when try to execute install - subprocess pycairo #112

Closed MarlonHeiber closed 3 months ago

MarlonHeiber commented 3 months ago

Here is the error in the terminal when try to install this project doing like the documentation:

`Collecting PyGObject~=3.44.1 Using cached PyGObject-3.44.2.tar.gz (721 kB) Installing build dependencies ... error error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [38 lines of output] Collecting setuptools Using cached setuptools-72.1.0-py3-none-any.whl (2.3 MB) Collecting wheel Using cached wheel-0.43.0-py3-none-any.whl (65 kB) Collecting pycairo Using cached pycairo-1.26.1.tar.gz (346 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' 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
    ╰─> [12 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-x86_64-cpython-310
        creating build/lib.linux-x86_64-cpython-310/cairo
        copying cairo/__init__.py -> build/lib.linux-x86_64-cpython-310/cairo
        copying cairo/__init__.pyi -> build/lib.linux-x86_64-cpython-310/cairo
        copying cairo/py.typed -> build/lib.linux-x86_64-cpython-310/cairo
        running build_ext
        'pkg-config' not found.
        Command ['pkg-config', '--print-errors', '--exists', 'cairo >= 1.15.10']
        [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. `