View Single Post
Old 10-07-2011, 10:53 PM   #1
katsu
Member
katsu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2011
Device: iPad,Kindle3
install failed with "ImportError: cannot import name QCoreApplication" on CentOS 5.6

Hello.
I am interested in Calibre.

I installed calibre in the personal computer at home.
but, the following errors were displayed.
Installation seems to have failed.

> Traceback (most recent call last):
> File "site.py", line 55, in main
> File "site.py", line 41, in set_qt_plugin_path
> ImportError: cannot import name QCoreApplication


What should I check?




Quote:
--------
$ python --version
Python 2.7.2
$
$ cat /etc/redhat-release
CentOS release 5.6 (Final)
$
$ yum list xdg-utils
Loaded plugins: fastestmirror
Installed Packages
xdg-utils.noarch 1.0.2-2.el5.centos installed
$
$
$
$
$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-

ebook.com/linux_installer').read(); main()"
Enter the installation directory for calibre [/opt]:
Will download and install calibre-0.8.21-x86_64.tar.bz2
Downloading calibre-0.8.21-x86_64.tar.bz2
Downloaded 0.000000%
Downloaded 0.016496%

(...)

Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication

Run "calibre" to start calibre

$ ls /opt/calibre/
bin calibre-server ebook-meta lrfviewer
calibre calibre-smtp ebook-viewer lrs2lrf
calibre-complete calibre_postinstall epub-fix markdown-calibre
calibre-customize calibredb fetch-ebook-metadata pdfmanipulate
calibre-debug ebook-convert lib resources
calibre-parallel ebook-device lrf2lrs web2disk
$
$ /opt/calibre/calibre
Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication
$
$ /opt/calibre/calibre-server
Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication
$
--------
katsu is offline   Reply With Quote