setup.py syntax error building python-imaging
Sherwin J. Singer
singer at chemistry.ohio-state.edu
Sun May 11 07:40:40 EDT 2003
PROBLEM SOLVED. I found an rpm built especially to install python-imaging
under RH7.3. Now I can use Sketch.
[The rpm is available at the Sketch web site. It would not download
yesterday...but mysteriously, it worked today.]
Thanks again for your help,
Sherwin
Fredrik Lundh wrote:
> Sherwin J. Singer wrote:
>
>> Thanks very much for your very quick responses. Of course, David is
>> totally
>> correct and invoking python2 gets the ball rolling. Then I hit another
>> problem:
>>
>> distutils.errors.DistutilsPlatformError: invalid Python installation:
>> unable to open /usr/lib/python2.2/config/Makefile (No such file or
>> directory)
>>
>> Indeed there is no config directory in either /usr/lib/python2.2 or
>> /usr/lib/python1.5.
>>
>> Please let me know if there is a convenient fix. Otherwise I'll wait
>> until
>> I upgrade from RH7.3. (My goal is to install Sketch. Hey, xfig is still
>> OK for now.)
>
> I think you'll need to install the "python2-devel" package.
>
> (iirc, the default RedHat 7.x install doesn't include the additional
> files needed to build new Python extensions)
>
> </F>
--
Sherwin Singer
Department of Chemistry
Ohio State University
100 W. 18th Ave.
Columbus, OH 43210
614-292-8909
614-292-1685 (fax)
More information about the Python-list
mailing list