[Python-bugs-list] [ python-Bugs-487152 ] Framework reports wrong sys.executable
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 02 Dec 2001 15:57:20 -0800
Bugs item #487152, was opened at 2001-11-29 10:20
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487152&group_id=5470
Category: Macintosh
Group: Platform-specific
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Jack Jansen (jackjansen)
Summary: Framework reports wrong sys.executable
Initial Comment:
I've run in to this a couple of times since I have
been using Python exclusively on OS X built as a
Framework. When built and installed as a
framework, python reports that sys.executable is:
/Library/Frameworks/Python.framework/Versions/
2.2/Python
Which may or may not be technically right. But
since certain scripts assume they can execute the
value of sys.executable to get a new python
interpreter, they fail. Instead, they need to be
pointed to
/Library/Frameworks/Python.framework/Versions/
2.2/bin/python.exe
Not sure if and how this can be fixed, but it would
be nice.
----------------------------------------------------------------------
>Comment By: Jack Jansen (jackjansen)
Date: 2001-12-02 15:57
Message:
Logged In: YES
user_id=45365
Fixed in Modules/getpath.c rev 1.40.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487152&group_id=5470