We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu Desktop 23.04
Edit: I do have libcups2-dev installed.
Edit 2: For anyone else who needs to print from Python on Linux, and really, doesn't everyone?, check out https://github.com/phin1x/python-ipp
pip install pycups
gives me: Requirement already satisfied: pycups in /usr/lib/python3/dist-packages (2.0.1)
And pip show pycups returns: Name: pycups Version: 2.0.1 Summary: Python bindings for libcups Home-page: https://github.com/zdohnal/pycups Author: Zdenek Dohnal Author-email: [email protected] License: GPLv2+ Location: /usr/lib/python3/dist-packages Requires: Required-by:
So... everything is OK, right? But if I try to import either cups or pycups, I get: ModuleNotFoundError: No module named 'cups'
My sys.path is: ['/home/walt/Documents/AnyCameraGrip/OpenScad', '/home/walt/Nextcloud/Walt/Documents/AnyCameraGrip/OpenScad', '/usr/lib/python3/dist-packages', '/usr/local/lib/python310.zip', '/usr/local/lib/python3.10', '/usr/local/lib/python3.10/lib-dynload', '/home/walt/.local/lib/python3.10/site-packages', '/usr/local/lib/python3.10/site-packages']
$ ls /usr/lib/python3/dist-packages/cups returns: /usr/lib/python3/dist-packages/cups.cpython-311-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/cupsext.cpython-311-x86_64-linux-gnu.so /usr/lib/python3/dist-packages/cupshelpers-1.0-py3.10.egg-info /usr/lib/python3/dist-packages/pycups-2.0.1.egg-info
Any ideas why I can't import cups or pycups?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ubuntu Desktop 23.04
Edit: I do have libcups2-dev installed.
Edit 2:
For anyone else who needs to print from Python on Linux, and really, doesn't everyone?, check out https://github.com/phin1x/python-ipp
pip install pycups
gives me:
Requirement already satisfied: pycups in /usr/lib/python3/dist-packages (2.0.1)
And pip show pycups returns:
Name: pycups
Version: 2.0.1
Summary: Python bindings for libcups
Home-page: https://github.com/zdohnal/pycups
Author: Zdenek Dohnal
Author-email: [email protected]
License: GPLv2+
Location: /usr/lib/python3/dist-packages
Requires:
Required-by:
So... everything is OK, right?
But if I try to import either cups or pycups, I get:
ModuleNotFoundError: No module named 'cups'
My sys.path is:
['/home/walt/Documents/AnyCameraGrip/OpenScad',
'/home/walt/Nextcloud/Walt/Documents/AnyCameraGrip/OpenScad',
'/usr/lib/python3/dist-packages',
'/usr/local/lib/python310.zip',
'/usr/local/lib/python3.10',
'/usr/local/lib/python3.10/lib-dynload',
'/home/walt/.local/lib/python3.10/site-packages',
'/usr/local/lib/python3.10/site-packages']
$ ls /usr/lib/python3/dist-packages/cups returns:
/usr/lib/python3/dist-packages/cups.cpython-311-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/cupsext.cpython-311-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/cupshelpers-1.0-py3.10.egg-info
/usr/lib/python3/dist-packages/pycups-2.0.1.egg-info
Any ideas why I can't import cups or pycups?
The text was updated successfully, but these errors were encountered: