View Single Post
Old 01-21-2012, 10:32 PM   #1
jasn
Junior Member
jasn began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Feb 2011
Device: Nook Color
[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
I've tried rebuilding all of my python modules, as well as all of the Calibre dependencies, but I still hit this error. (BTW, python-dateutil version 2.0 is installed).

Thanks..

Last edited by jasn; 01-22-2012 at 12:37 AM.
jasn is offline   Reply With Quote