[Tutor] distutils problem

Paul Tremblay phthenry at iglou.com
Sat Apr 16 19:33:48 CEST 2005


On Sat, Apr 16, 2005 at 12:58:33PM -0400, Paul Tremblay wrote:
> I have written a script that is available at:
> 
> https://sourceforge.net/projects/rtf2xml/
> 
> This script has gotten about 1600 downloads and I have not got many
> bug complaints. However, recently I got the bug complaint listed
> below. 
> 
> This bug--if it is one--seems to be related to the person't version
> and setup of python rather than my script. Can anyone make sense of
> it?
> 
> Thanks 
> 
> Paul
> 
> forwarded message
> =================
> 
> I tried to set this up according to the documentation at
> 
>   http://rtf2xml.sourceforge.net/docs/installation.html#install-rtf2xml-module
> 
> But when I try to run
> 
>    python setup.py install
> 
> (both as user and as root)
> 
>  I get
> 
>   xps8250:/home/chuck/rtf2xml-1.0a# python setup.py install
> 
>   running install
> 
>   error: invalid Python installation: unable to open /usr/lib/python2.3/config/Makefile (No such file or directory)
> 
> According to apt-get, I do have Python correctly installed. I also did
> this:
> 
>     xps8250:/home/chuck/rtf2xml-1.0a# python
> 
>      Python 2.3.5 (#2, Mar 26 2005, 17:32:32)
> 
>      [GCC 3.3.5 (Debian 1:3.3.5-12)] on linux2
> 
> However, in /usr/lib/python2.3/   there is no subdirectory for
> /config/Makefile, nor any Makefile in any python subtree. I've looked
> around the Python online documentation, but haven't found any
> clues. Any suggestions?
> 
> 

Okay, I just did a web search (which I should have done before I
posted this!) and discovered that the problem is probably due to the
user not having the development package of python installed as well. I
posted him and will wait to hear from him.

Paul

-- 

************************
*Paul Tremblay         *
*phthenry at iglou.com    *
************************


More information about the Tutor mailing list