ubuntu install fail error shown wired
HI, I tried to install calibre on ubuntu 8.10.
first I tried
sudo apt-get install python-setuptools python-imaging libqt4-core libqt4-gui \
python-qt4 python-mechanize imagemagick \
xdg-utils python-dbus python-lxml python-beautifulsoup \
help2man
sudo easy_install -U calibre
I also installed python-qt4-dev
however,
when I do
sudo calibre_postinstall
I got the following error:
calibre_postinstall
Trying to setup udev rules...
* Restarting Hardware abstraction layer hald [ OK ]
Setting up bash completion...
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.133', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-i686/egg/calibre/linux.py", line 466, in post_install
File "build/bdist.linux-i686/egg/calibre/linux.py", line 222, in setup_completion
File "build/bdist.linux-i686/egg/calibre/linux.py", line 124, in opts_and_exts
File "build/bdist.linux-i686/egg/calibre/linux.py", line 83, in options
File "build/bdist.linux-i686/egg/calibre/ebooks/epub/from_any.py", line 191, in option_parser
TypeError: not all arguments converted during string formatting
Then I want to install it from source. it still not working.
when i do
sudo python setup.py build
I got this error.
Setup calibre version: 0.4.133
running build
running resources
Resources are up to date
running translations
Translations up to date
running gui
Compiling images...
error: No such file or directory
I did install python-qt4-dev from apt-get.
so can anyone help me figure out what happening?
Thanks a lot. Stev
|