View Single Post
Old 04-17-2019, 02:31 PM   #1
sgseidel
Junior Member
sgseidel began at the beginning.
 
sgseidel's Avatar
 
Posts: 6
Karma: 10
Join Date: Apr 2017
Location: Vancouver, BC, Canada
Device: Mac OS X / Windows 10 / Linux
Version 3.40 won't install on Linux Mint

This is my first post on the forum, so apologies beforehand if I'm not doing something correctly:

I've attempted to install calibre 3.40.1 on Linux Mint 19.1 Cinnamon. LM19.1 OS is up to date (as of a few minutes ago). Also note LM 19.1 is running as a virtual machine on a macOS 10.14.4 host under Virtualbox 6.0.6 (latest as of a few minutes ago) with guest additions 6.0.6.

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$

I'm not sure where to go from here. Can someone advise? Thanks.
sgseidel is offline   Reply With Quote