Closed cprin21 closed 1 year ago
Looking at the log, you appear to be missing the development headers for python.
this link shows how to get those.
I'll keep this open as you'll likely need to install *-devel packages for other requirements, and I'm not familiar enough with Fedora to hazard a guess as to which.
Installing the following packages on Fedora 39 Beta allowed pipx to install discover overlay python-devel python-gobject python-gobject-devel
Thank you for the follow up. I've put that in documentation.
Steps to Reproduce Steps to reproduce the behavior:
pip seemed to fail to build package: pycairo
Some possibly relevant errors from pip install: error: subprocess-exited-with-error cairo/bufferproxy.c:32:10: fatal error: Python.h: No such file or directory error: command '/usr/bin/gcc' failed with exit code 1
PIP STDOUT
Processing /home/$USER/Downloads/Discover Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting PyGObject>=3.22 (from discover-overlay==0.6.9) Using cached PyGObject-3.46.0.tar.gz (723 kB) Installing build dependencies: started Installing build dependencies: finished with status 'error'
PIP STDERR
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 1 ╰─> [51 lines of output] Collecting setuptools Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/bb/26/7945080113158354380a12ce26873dd6c1ebd88d47f5bc24e2c5bb38c16a/setuptools-68.2.2-py3-none-any.whl.metadata Using cached setuptools-68.2.2-py3-none-any.whl.metadata (6.3 kB) Collecting wheel Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/b8/8b/31273bf66016be6ad22bb7345c37ff350276cfd46e389a0c2ac5da9d9073/wheel-0.41.2-py3-none-any.whl.metadata Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB) Collecting pycairo Using cached pycairo-1.25.0.tar.gz (347 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' Using cached setuptools-68.2.2-py3-none-any.whl (807 kB) Using cached wheel-0.41.2-py3-none-any.whl (64 kB) 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
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.