"Cannot import name genshi" error when installing the Swab library

Posted by ATMathew on Ask Ubuntu See other posts from Ask Ubuntu or by ATMathew
Published on 2011-07-06T21:49:26Z Indexed on 2011/11/12 18:07 UTC
Read the original article Hit count: 375

Filed under:
|

I'm trying to install the Swab library for Python 2.6 in Ubuntu 10.10.

However, I get the following error messages when I try to import it.

In the terminal I ran:

sudo easy_install swab
sudo easy_install Genshi

In the Python interpreter I ran:

>>> import swab
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.6/dist-packages/swab-0.1.2-py2.6.egg/swab/__init__.py", line 23, in <module>
    from pestotools.genshi import genshi, render_docstring
ImportError: cannot import name genshi

I don't know whats going on. can anyone help.

© Ask Ubuntu or respective owner

Related posts about installation

Related posts about python