[Distutils] python-dev not installed on Unix

M.-A. Lemburg mal@lemburg.com
Wed Feb 19 16:24:10 2003


Juergen Hermann wrote:
> Hi!
> 
> This is a VERY common error that traps users regularly:
> 
> distutils.errors.DistutilsPlatformError: invalid Python installation: 
> unable to open /usr/lib/python2.2/config/Makefile (No such file or 
> directory) 
> 
> Could we extend that error message by a hint on installing the python-
> dev .rpm/.deb? 
> 
> 	if sys.platform = "unix":
> 		msg += "\nYou probably need to install..."

Sure. Do you have a list of common package names needed for
this ?

SuSE uses "python-devel".

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Software directly from the Source  (#1, Feb 19 2003)
 >>> Python/Zope Products & Consulting ...         http://www.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________
Python UK 2003, Oxford:                                     41 days left
EuroPython 2003, Charleroi, Belgium:                       125 days left