View Single Post
Old 02-10-2009, 06:59 PM   #1
thebadtouch
Junior Member
thebadtouch began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: Kindle
calibre 0.4.136 not compiling on linux

Hi,
I got the latest version of calibre (0.4.136), and got the following message when running "python setup.py install" as root:

Quote:
Installing calibre script to /usr/local/bin

Installed /usr/local/lib/python2.5/site-packages/calibre-0.4.136-py2.5-linux-i686.egg
Processing dependencies for calibre==0.4.136
Finished processing dependencies for calibre==0.4.136
Traceback (most recent call last):
File "/usr/local/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.136', 'console_scripts', 'calibre_postinstall')()
File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 277, in load_entry_point
File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 2180, in load_entry_point
File "/usr/local/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/pkg_resources.py", line 1913, in load
File "build/bdist.linux-i686/egg/calibre/linux.py", line 11, in <module>
File "/usr/local/lib/python2.5/site-packages/PIL/__init__.py", line 12, in devices
# ;-)
File "build/bdist.linux-i686/egg/calibre/devices/cybookg3/driver.py", line 11, in <module>
File "build/bdist.linux-i686/egg/calibre/devices/usbms/driver.py", line 12, in <module>
File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/meta.py", line 9, in <module>
File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/opf2.py", line 15, in <module>
ImportError: No module named dateutil
Traceback (most recent call last):
File "setup.py", line 499, in <module>
subprocess.check_call('calibre_postinstall', shell=True)
File "/usr/local/lib/python2.5/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'calibre_postinstall' returned non-zero exit status 1
I checked all dependencies, and everything seems ok. Am I missing a piece somewhere?

Thanks very much for your program and for your help.

VERY SORRY -- just saw the post from Talung posted a few minutes before mine. Was able to get the python-dateutil package installed, and everyting compiles fine for calibre now.

Thanks again!

Last edited by thebadtouch; 02-10-2009 at 07:06 PM.
thebadtouch is offline   Reply With Quote