"Cannot import name genshi" error when installing the Swab library
- by ATMathew
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.