-
Notifications
You must be signed in to change notification settings - Fork 11
No module named PyQt4.Qt #6
Comments
I was seeing this too, but it went away and I was able to install the plugin after installing the usual plugins I use for book management. I guess one of them is installing this dependency? |
Calibre switched from PyQt4 to PyQt5 awhile ago. My guess would be the plugin needs to be updated. (change PyQt4 to PyQt5) here: https://github.com/xchewtoyx/calibre-comicvine/blob/master/config.py#L6 |
I fixed it in my fork, but now I'm getting:
|
Huh. I was able to install it with |
There haven't been updates to this in over a year, it's probably at a point where someone else may need to take up maintenance. |
Open the file config.py in a text editor and change line 5 from: Then re-bundle the plugin zip file and install using the original instructions. Worked for me. |
When I try this and re-zip the folder and attempt to install the plugin I get the error: |
So, make sure it contains a top-level init.py file. You probably have it in a sub-directory. From: Matthias Gattermeier [mailto:[email protected]] When I try this and re-zip the folder and attempt to install the plugin I get the error: — |
Calibre 2.53
Linux Mint 17.3
I assume it's not compatible with the latest Calibre version. are there any ways around this or does anyone know the latest release this plugin works with?
It's a fresh install of Calibre and no other plugins have been installed. I'm a complete newbe so any help would be appreciated.
$ calibre-customize -a Comicvine.zip
Traceback (most recent call last):
File "site.py", line 66, in main
File "site-packages/calibre/customize/ui.py", line 677, in main
File "site-packages/calibre/customize/ui.py", line 397, in add_plugin
File "site-packages/calibre/customize/ui.py", line 54, in load_plugin
File "site-packages/calibre/customize/zipplugin.py", line 197, in load
File "importlib/init.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.init", line 4, in
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.source", line 17, in
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.comicvine.config", line 6, in
ImportError: No module named PyQt4.Qt
The text was updated successfully, but these errors were encountered: