[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Python distutils problem



Hi all,

I'm trying to install the Python MySQL connector on Debian testing. If I do 'python -V' I get

enterprise MySQL-python-0.9.2 # python -V
Python 2.3.3

But when I try to run a script that relies on distutils I get this:

enterprise MySQL-python-0.9.2 #  python setup.py build
Traceback (most recent call last):
  File "setup.py", line 6, in ?
    from distutils.core import setup
ImportError: No module named distutils.core

According to the Python site, distutils has been part of Python since version 1.6 - http://www.python.org/doc/current/inst/trivial-install.html#SECTION000120000000000000000

Is this a Debian problem, or is there someone who knows Python and can see I've missed something obvious?


--

Best regards,


Patrick Kirk
Mobile: 07876 560 646



Reply to: