[Tutor] distutils problem
Light
light_zls at 163.com
Sat Apr 16 19:18:45 CEST 2005
I think he may need to install python-devel.
> 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?
More information about the Tutor
mailing list