![]() |
#1 |
Member
![]() ![]() Posts: 14
Karma: 132
Join Date: Aug 2014
Device: Kindle Paperwhite 7th Gen
|
Unable to run calibre on Ubuntu VPS
I have a Contabo VPS with Ubuntu. I am trying to install Calibre on it. The installation completes successfully, but when I run calibre, I get the following error:
Code:
Traceback (most recent call last): File "runpy.py", line 194, in _run_module_as_main File "runpy.py", line 87, in _run_code File "site.py", line 45, in <module> File "site.py", line 41, in main File "calibre/gui_launch.py", line 72, in calibre File "bypy-importer.py", line 151, in exec_module File "calibre/gui2/__init__.py", line 16, in <module> ImportError: cannot import name 'QApplication' from 'PyQt5.Qt' (/opt/calibre/lib/calibre-extensions/PyQt5.Qt.so) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You are probably missing needed X11 libraries. Use LD_DEBUG=libs for details.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() Posts: 14
Karma: 132
Join Date: Aug 2014
Device: Kindle Paperwhite 7th Gen
|
I tried that and even that shows the same error.
I also tried reinstalling, and this time I noticed that it's giving the error at the time of installation itself: Code:
____________________ WARNING ____________________ Setting up completion failed with error: __________________________________________________ Traceback (most recent call last): File "calibre/linux.py", line 832, in setup_completion File "calibre/linux.py", line 574, in write_completion File "bypy-importer.py", line 154, in exec_module File "calibre/gui2/__init__.py", line 16, in <module> ImportError: cannot import name 'QApplication' from 'PyQt5.Qt' (/opt/calibre/lib/calibre-extensions/PyQt5.Qt.so) Setting up desktop integration... ____________________ WARNING ____________________ Setting up desktop integration failed with error: __________________________________________________ Traceback (most recent call last): File "calibre/linux.py", line 900, in setup_desktop_integration File "calibre/linux.py", line 885, in install_icons File "calibre/linux.py", line 875, in install_single_icon File "calibre/linux.py", line 1219, in render_img ImportError: cannot import name 'QImage' from 'PyQt5.Qt' (/opt/calibre/lib/calibre-extensions/PyQt5.Qt.so) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Won't Run [ubuntu 14.04 / calibre 3.0] | ciscopixie | Devices | 2 | 06-19-2017 04:04 PM |
calibre won't run after upgrade to 3.0.0 ubuntu | livornese | Devices | 1 | 06-18-2017 10:05 AM |
Unable to update Calibre (Ubuntu) since 2.76 | spliton210 | Calibre | 3 | 02-17-2017 08:01 AM |
calibre will not run on Ubuntu 10.04 | mvelte54 | Devices | 25 | 01-09-2015 05:05 PM |
Unable to install calibre 0.8.52 on Ubuntu 12.04!! | calibrenewbie | Calibre | 2 | 07-23-2012 08:10 AM |