I'm having trouble running Calibre server on my Debian 11.4 Bullseye system. I've installed the official binaries using the instructions at
https://calibre-ebook.com/download_linux
But when I start calibre-server I get this error:
Code:
Failed to import PyQt module: PyQt6.QtGui with error: libEGL.so.1: cannot open shared object file: No such file or directory
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 45, in <module>
File "site.py", line 41, in main
File "calibre/srv/standalone.py", line 227, in main
File "calibre/srv/standalone.py", line 69, in __init__
File "calibre/srv/handler.py", line 200, in __init__
File "importlib/__init__.py", line 126, in import_module
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "bypy-importer.py", line 279, in exec_module
File "calibre/srv/ajax.py", line 18, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre/srv/content.py", line 16, in <module>
File "bypy-importer.py", line 279, in exec_module
File "calibre/ebooks/covers.py", line 14, in <module>
ImportError: cannot import name 'QImage' from 'qt.core' (/opt/calibre/lib/calibre-extensions/python-lib.bypy.frozen/qt/core.pyc)
My first thought was to install the PyQt6 package, but there doesn't appear to be one available for Debian 11.4.
Any ideas?