distutils.core not in Debian python2.2 package

Kent Tenney kent at NOSPAMspringfed.com
Mon Jul 21 13:32:56 CEST 2003


David M. Cooke wrote:

> At some point, Kent Tenney <kent at NOSPAMspringfed.com> wrote:
> 
> 
>>David M. Cooke wrote:
>>
>>>At some point, Kent Tenney <kent at NOSPAMspringfed.com> wrote:
>>>
>>>
>>>>Howdy,
>>>>
>>>>I did;
>>>># apt-get install python2.2
>>>>
>>>># python
>>>>Python 2.2.1
>>>>...
>>>>
>>>>then checked docutils out of CVS
>>>>and did;
>>>>
>>>>docutils# python ./setup.py install
>>>>
>>>>ImportError: No module named distutils.core
>>>>
>>>>How do I install distutils?
>>>
>>>Install the python2.2-dev package.
>>
>>It surprises me to find distutils in a package described as:
>>
>>"Header files and a static library for Python (v2.2)"
>>
>>Kent
> 
> 
> 
> Except in the extended description, where it says
> """
>  Includes the python distutils, which were in a separate package up to
>  version 1.5.2.
> """
> 
> In general, if you need to compile, or develop, you need the
> corresponding *-dev packages.

I didn't need to compile or develop, just install.

I expected

$ python ./setup.py install

to work out of the box.
Am I missing something?

Thanks,
Kent





More information about the Python-list mailing list