View Single Post
Old 10-15-2020, 01:55 PM   #1
gourav
Member
gourav doesn't littergourav doesn't litter
 
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)
Any idea how to resolve this issue?
gourav is offline   Reply With Quote