Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > distutils.core not in Debian python2.2 package

Reply
Thread Tools

distutils.core not in Debian python2.2 package

 
 
Kent Tenney
Guest
Posts: n/a
 
      07-19-2003
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?

Thanks,
Kent

 
Reply With Quote
 
 
 
 
Kent Tenney
Guest
Posts: n/a
 
      07-20-2003
Thanks

It surprises me to find distutils in a package described as:

"Header files and a static library for Python (v2.2)"

Kent

David M. Cooke wrote:
> At some point, Kent Tenney <> 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.
>


 
Reply With Quote
 
 
 
 
Alessio Pace
Guest
Posts: n/a
 
      07-21-2003
I wonder why the corresponding package python2.3-dev does not exist..
No distutils for python2.3 developers?

--
bye
Alessio Pace


David M. Cooke wrote:

> At some point, Kent Tenney <> wrote:
>
>> David M. Cooke wrote:
>>> At some point, Kent Tenney <> 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.
>



 
Reply With Quote
 
=?ISO-8859-1?Q?Gerhard_H=E4ring?=
Guest
Posts: n/a
 
      07-21-2003
Kent Tenney wrote:
> David M. Cooke wrote:
>> 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. [...]


From the view of the packagers, you only need disutils for development
work. Manually installing modules counts as "development" as well. At
least to them.

-- Gerhard

 
Reply With Quote
 
David M. Cooke
Guest
Posts: n/a
 
      07-21-2003
At some point, Alessio Pace <> wrote:

> I wonder why the corresponding package python2.3-dev does not exist..
> No distutils for python2.3 developers?


?? There is for me
$ apt-cache search python2.3-dev
python2.3-dev - Header files and a static library for Python (v2.3)
$

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I look for proxy cache like apt-proxy (for Debian Package) but for python eggs package… Klein Stéphane Python 3 12-20-2009 01:58 AM
[ANN] Builds of PyWebkitGtk and Webkit-Glib-Gtk(r39359+#16401.master) for Debian i386,Debian AMD64 and Macports MacOSX 10.4 Luke Kenneth Casson Leighton Python 0 12-31-2008 08:23 PM
Python / Debian package dependencies Steven Samuel Cole Python 4 11-22-2008 07:51 PM
Slackware developer package on debian? Uplink Computer Information 0 01-12-2006 12:35 AM
[Debian] Upgrading to kernel 2.6 in Debian DUser NZ Computing 0 01-11-2004 12:38 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57