calibre was installed using the command line:
sudo -v && wget -nv -O-
https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
The following errors are thrown:
....
Symlinking /opt/calibre/calibredb to /usr/bin/calibredb
Symlinking /opt/calibre/lrs2lrf to /usr/bin/lrs2lrf
Symlinking /opt/calibre/lrf2lrs to /usr/bin/lrf2lrs
Setting up command-line completion...
Installing zsh completion to: /usr/share/zsh/vendor-completions/_calibre
Installing bash completion to: /usr/share/bash-completion/completions/calibre
____________________ WARNING ____________________
Setting up completion failed with error:
__________________________________________________
Traceback (most recent call last):
File "site-packages/calibre/linux.py", line 755, in setup_completion
File "site-packages/calibre/linux.py", line 509, in write_completion
File "site-packages/calibre/gui2/__init__.py", line 13, in <module>
ImportError: cannot import name QDesktopServices
Setting up desktop integration...
____________________ WARNING ____________________
Setting up desktop integration failed with error:
__________________________________________________
Traceback (most recent call last):
File "site-packages/calibre/linux.py", line 815, in setup_desktop_integration
File "site-packages/calibre/linux.py", line 800, in install_icons
File "site-packages/calibre/linux.py", line 790, in install_single_icon
File "site-packages/calibre/linux.py", line 1132, in render_img
ImportError: cannot import name QImage
Creating un-installer: /usr/bin/calibre-uninstall
There were 2 warnings
* Setting up completion failed with error:
* Setting up desktop integration failed with error:
Run "calibre" to start calibre
stewart@stewart-LM191:~/Downloads$ calibre
Traceback (most recent call last):
File "site.py", line 77, in main
File "site-packages/calibre/gui_launch.py", line 73, in calibre
File "site-packages/calibre/gui2/__init__.py", line 13, in <module>
ImportError: cannot import name QDesktopServices
Segmentation fault (core dumped)
stewart@stewart-LM191:~/Downloads$