Can't get odtwriter to work

Grant Edwards invalid at invalid.invalid
Wed Mar 31 00:01:14 CEST 2010

I just installed odtwriter 1.3d on a Gentoo system running Python
2.6.4.  I used the normal "python build" then "python install" method. But, odtwriter doesn't seem to work: --help

    Traceback (most recent call last):
      File "/usr/bin/", line 5, in <module>
        pkg_resources.run_script('odtwriter==1.3d', '')
      File "/usr/lib/python2.6/site-packages/", line 461, in run_script
        self.require(requires)[0].run_script(script_name, ns)
      File "/usr/lib/python2.6/site-packages/", line 1194, in run_script
        execfile(script_filename, namespace, namespace)
      File "/usr/lib/python2.6/site-packages/odtwriter-1.3d-py2.6.egg/EGG-INFO/scripts/", line 21, in <module>
        from docutils.writers.odtwriter import Writer, Reader
    ImportError: No module named odtwriter

I verified that I have docutils installed:

    Python 2.6.4 (r264:75706, Mar  1 2010, 10:33:43) 
    [GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import docutils
    >>> docutils
    <module 'docutils' from '/usr/lib/python2.6/site-packages/docutils/__init__.pyc'>

What am I doing wrong?    

Grant Edwards               grant.b.edwards        Yow! LOOK!!  Sullen
                                  at               American teens wearing
                                MADRAS shorts and "Flock of
                                                   Seagulls" HAIRCUTS!

More information about the Python-list mailing list