|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2011
Device: Pixel Tablet
|
[Solved] Calibre 0.8.36 - Linux Compile Error - No module named dateutil.parser
Hello,
I'm running Calibre on my Gentoo X86_64 laptop, (kernel 3.2.1, python 2.7 and 3.2, gcc 4.6.2, gnome 3.2.1), and it's been compiling, installing, and running fine until version 0.8.36. The entire Gentoo build log is here, but I think this is the relevant part; Code:
*
* Running gui
*
Traceback (most recent call last):
File "setup.py", line 99, in <module>
sys.exit(main())
File "setup.py", line 85, in main
command.run_all(opts)
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/setup/__init__.py", line 163, in run_all
self.run_cmd(self, opts)
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/setup/__init__.py", line 156, in run_cmd
self.run_cmd(scmd, opts)
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/setup/__init__.py", line 159, in run_cmd
cmd.run(opts)
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/setup/gui.py", line 37, in run
self.build_forms()
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/setup/gui.py", line 60, in build_forms
from calibre.gui2 import build_forms
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/src/calibre/gui2/__init__.py", line 19, in <module>
from calibre.utils.date import UNDEFINED_DATE
File "/tmp/portage/app-text/calibre-0.8.36/work/calibre/src/calibre/utils/date.py", line 13, in <module>
from dateutil.parser import parse
ImportError: No module named dateutil.parser
* ERROR: app-text/calibre-0.8.36 failed (install phase):
* Installation failed
Thanks.. Last edited by jasn; 01-22-2012 at 12:37 AM. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,695
Karma: 28549304
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You appear to have a broken python-dateutil installation.
from dateutil.parser import parse should not be failing. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Feb 2011
Device: Pixel Tablet
|
[facepalm]
Sorry Kovid, I searched the Gentoo Bugzilla, (and Forums, although that's more hit or miss), to see if anyone logged this issue, but I was searching for calibre. When I went back and searched for python-dateutil, this bug was found. Apparently upgrading python-dateutil to 2.0, (from 1.5), slotted it for the python 3.2 I have installed. Downgrading to 1.5 fixed the problem. Thanks again.. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PBSDK-linux-libwine compile -lpthread error | read365 | PocketBook Developer's Corner | 1 | 10-05-2011 09:27 AM |
| Error on install: No module named PyQt4 | good_man | Calibre | 4 | 02-18-2011 04:10 PM |
| Calibre 0.7.43/44 - Linux Compile Segmentation Fault | jasn | Calibre | 2 | 02-08-2011 12:52 PM |
| ebook-meta error - "No module named podofo" | jimrothstein | Calibre | 1 | 01-15-2011 10:58 AM |
| ImportError: No module named pkg_resources | erik80 | Calibre | 3 | 08-02-2008 10:33 AM |