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
159 stars 40 forks source link

error: subprocess-exited-with-error #96

Closed mehranamp closed 1 year ago

mehranamp commented 1 year ago

error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [40 lines of output] Collecting setuptools Using cached setuptools-67.7.2-py3-none-any.whl (1.1 MB) Collecting wheel Using cached wheel-0.40.0-py3-none-any.whl (64 kB) Collecting pycairo Using cached pycairo-1.23.0.tar.gz (344 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' 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
    ╰─> [12 lines of output]
        running bdist_wheel
        running build
        running build_py
        creating build
        creating build/lib.linux-x86_64-cpython-311
        creating build/lib.linux-x86_64-cpython-311/cairo
        copying cairo/__init__.py -> build/lib.linux-x86_64-cpython-311/cairo
        copying cairo/__init__.pyi -> build/lib.linux-x86_64-cpython-311/cairo
        copying cairo/py.typed -> build/lib.linux-x86_64-cpython-311/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.

graceman9 commented 1 year ago

Have you tried to install pkg-config?

sudo apt-get update
sudo apt-get install pkg-config
bluppfisk commented 1 year ago

try again with the latest master? Note the install instructions have changed slightly

bluppfisk commented 1 year ago

probably fixed in 2.1.9 as cairo is no longer a dependency