View Single Post
Old 07-15-2022, 11:17 AM   #514
giododa
Connoisseur
giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.giododa can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
giododa's Avatar
 
Posts: 76
Karma: 30702
Join Date: Jul 2010
Location: Italy
Device: Kobo Libra H2O
No module named 'PyQt4'

Hi there.
Lately I tried to use Kepub Output plugin to convert my Epub as the Kobo Extended driver I was using gave me some problems in sending kepub files to my kobo Librah2o.
I keep getting this error when trying to convert epub to kepub.

Spoiler:

calibre, version 6.0.0
ERRORE: Eccezione non gestita: <b>ModuleNotFoundError</b>:No module named 'PyQt4'

calibre 6.0 Portable embedded-python: True
Windows-10-10.0.19044 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19044')
Python 3.10.1
Windows: ('10', '10.0.19044', '', 'Multiprocessor Free')
Interface language: it
Successfully initialized third party plugins: KePub Output (3, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.kepubout.conversion.output_config ", line 66, in setupUi
ImportError: cannot import name 'Qt' from 'qt' (E:\Calibre Portable\Calibre\app\bin\python-lib.bypy.frozen\qt\__init__.pyc)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre\gui2\convert\single.py", line 225, in setup_pipeline
File "calibre_plugins.kepubout.conversion.kepub_output" , line 141, in gui_configuration_widget
File "calibre_plugins.kepubout.conversion.output_config ", line 40, in __init__
File "calibre\gui2\convert\__init__.py", line 65, in __init__
File "calibre_plugins.kepubout.conversion.output_config ", line 69, in setupUi
ModuleNotFoundError: No module named 'PyQt4'

The same happens also when using regular (not portable) installation of Calibre on my pc with Windows 10.
Do you have any idea?

Last edited by giododa; 07-15-2022 at 11:59 AM.
giododa is offline   Reply With Quote