[Python-bugs-list] [Bug #133259] Ugly traceback for DistutilsPlatformError

noreply@sourceforge.net noreply@sourceforge.net
Tue, 20 Feb 2001 08:23:09 -0800


Bug #133259, was updated on 2001-Feb-20 08:23
Here is a current snapshot of the bug.

Project: Python
Category: Python Library
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: gward
Assigned to : nobody
Summary: Ugly traceback for DistutilsPlatformError

Details: From Chad Lester:

> I was setting up a new redhat machine, and had forgotten to install the
> python-devel rpm.  The distutils provide a fairly ugly stack trace /
error
> message.  Luckily, it meant something to me... but it's not terribly
user
> friendly!
>    
> ...
>   File "/usr/lib/python1.5/site-packages/distutils/sysconfig.py", line
> 368, in get_config_vars
>     func()
>   File "/usr/lib/python1.5/site-packages/distutils/sysconfig.py", line
> 280, in _init_posix
>     raise DistutilsPlatformError, my_msg
> distutils.errors.DistutilsPlatformError: invalid Python
> installation: unable to open /usr/lib/python1.5/config/Makefile (No
such
> file or directory)
> 
> 



For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133259&group_id=5470