Installed modules from Synaptic in Ubuntu problem

goldtech goldtech at worldpost.com
Sun Nov 21 01:08:51 CET 2010


Hi,

Using Ubuntu linux 9.04 and have python 2.6. I'm trying to add a
module from the synaptic installer. It's µTidylib a wrapper for HTML
Tidy. It installed with out a problem, when I do a  $ help ('modules')
I see a module called "tidy". But when I do an import tidy in a script
I get an error...
    import tidy
ImportError: No module named tidy

How do I get this module working? Any help appreciated.

also do I need a special path?:

~$ locate utidylib
/usr/share/doc/python-utidylib
/usr/share/doc/python-utidylib/README.Debian
/usr/share/doc/python-utidylib/README.Debian-source
/usr/share/doc/python-utidylib/README.txt
/usr/share/doc/python-utidylib/changelog.Debian.gz
/usr/share/doc/python-utidylib/copyright
/usr/share/python-support/python-utidylib
/usr/share/python-support/python-utidylib/tidy
/usr/share/python-support/python-utidylib/uTidylib-0.2.egg-info
/usr/share/python-support/python-utidylib/tidy/__init__.py
/usr/share/python-support/python-utidylib/tidy/error.py
/usr/share/python-support/python-utidylib/tidy/lib.py
/usr/share/python-support/python-utidylib/tidy/test_tidy.py
/var/cache/apt/archives/python-utidylib_0.2-3.2ubuntu1_all.deb
/var/lib/dpkg/info/python-utidylib.list
/var/lib/dpkg/info/python-utidylib.md5sums
/var/lib/dpkg/info/python-utidylib.postinst
/var/lib/dpkg/info/python-utidylib.prerm

--



More information about the Python-list mailing list