Peter's Blog

Redefining the Impossible

Python under Ubuntu


Wanted to install the wonderful Cheetah Template Library on Ubuntu Linux and was rewarded with this:

> sudo python setup.py install
Traceback (most recent call last):
  File "setup.py", line 10, in ?
    import SetupTools
  File "/home/pcw/download/Cheetah-0.9.16a2/SetupTools.py", line 23, in ?
    from distutils.core import setup
ImportError: No module named distutils.core

Found this article which told me to install the python-dev package. Apparently the Ubuntu folk have decided to mess around with the Python standard library and chop it into small bits. I guess they enjoy searching through package lists more than I do.


Filed under: cheetah linux python ubuntu

John Says:

over 2 years ago

Thanks that fixed it for me.

Comments are Closed