python-dev not installed on Unix

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..." Ciao, Jürgen

Juergen Hermann wrote:
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

Juergen Hermann wrote:
Could you cook up a path for this ? -- Marc-Andre Lemburg eGenix.com Professional Python Software directly from the Source (#1, Mar 03 2003)
Python/Zope Products & Consulting ... http://www.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
Python UK 2003, Oxford: 29 days left EuroPython 2003, Charleroi, Belgium: 113 days left

Juergen Hermann wrote:
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

Juergen Hermann wrote:
Could you cook up a path for this ? -- Marc-Andre Lemburg eGenix.com Professional Python Software directly from the Source (#1, Mar 03 2003)
Python/Zope Products & Consulting ... http://www.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
Python UK 2003, Oxford: 29 days left EuroPython 2003, Charleroi, Belgium: 113 days left
participants (2)
-
Juergen Hermann
-
M.-A. Lemburg