forked from Distrotech/pycups
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
When running
pip install pycupsThe following is returned.
Collecting pycups
Downloading pycups-2.0.1.tar.gz (62 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 63.0/63.0 kB 5.6 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Building wheels for collected packages: pycups
Building wheel for pycups (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [6 lines of output]
In file included from cupsconnection.c:22:
cupsconnection.h:26:10: fatal error: cups/http.h: No such file or directory
26 | #include <cups/http.h>
| ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pycups
Running setup.py clean for pycups
Failed to build pycups
Installing collected packages: pycups
Running setup.py install for pycups ... error
error: subprocess-exited-with-error
× Running setup.py install for pycups did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
[dir]/venv/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
In file included from cupsconnection.c:22:
cupsconnection.h:26:10: fatal error: cups/http.h: No such file or directory
26 | #include <cups/http.h>
| ^~~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> pycups
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.OS: Ubuntu 20.04.5 LTS
Python: 3.8.10
Metadata
Metadata
Assignees
Labels
No labels