[opensuse] calibre e-book reader failure
Readers, Calibre was installed via zypper: zypper install calibre. The program fails to start, reporting the following command terminal error: Traceback (most recent call last): File "/usr/bin/calibre", line 19, in <module> from calibre.gui2.main import main File "/usr/lib/calibre/calibre/gui2/__init__.py", line 7, in <module> from PyQt4.Qt import (QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt, ImportError: cannot import name QVariant -- nomail-mode subscriber -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 6/14/2013 3:06 AM, e-letter wrote:
Readers,
Calibre was installed via zypper:
zypper install calibre.
The program fails to start, reporting the following command terminal error:
Traceback (most recent call last): File "/usr/bin/calibre", line 19, in <module> from calibre.gui2.main import main File "/usr/lib/calibre/calibre/gui2/__init__.py", line 7, in <module> from PyQt4.Qt import (QVariant, QFileInfo, QObject, SIGNAL, QBuffer, Qt, ImportError: cannot import name QVariant
-- nomail-mode subscriber
Which version of python do you have?
From the Calibre site:
You need GLIBC 2.10 or higher. You must have xdg-utils and python ≥ 2.6 installed on your system before running the installer.
Note that I normally install directly from the Calibre site with the single line command that I have built into a shell script and run as root:
python -c "import sys; py3 = sys.version_info[0] > 2; u = __import__('urllib.request' if py3 else 'urllib', fromlist=1); exec(u.urlopen('http://status.calibre-ebook.com/linux_installer').read()); main()"
This version never fails to run in my experience. There are those, who shall remain nameless, who insist this is horribly dangerous, but I have less confidence in some third party re-packager than I have in the author. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
e-letter
-
John Andersen