Re: Python distutils problem
On Sun, 2004-02-22 at 05:51, Patrick Kirk wrote:
> 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?
>
distutils is included in the python1.5-distutils and python2.*-dev
packages. You probably just need to install the appropriate python
development package.
-davidc
Reply to: