[Python-bugs-list] [Bug #133259] Ugly traceback for DistutilsPlatformError
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 20 Feb 2001 08:24:16 -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: 3
Submitted by: gward
Assigned to : gward
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)
>
>
Follow-Ups:
Date: 2001-Feb-20 08:24
By: gward
Comment:
This only applies for people installing Distutils
under Python 1.5.2, so it will only be fixed if
there is another Distutils release to support 1.5.2 --
which is unlikely.
-------------------------------------------------------
For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=133259&group_id=5470