[Python-bugs-list] [ python-Bugs-487152 ] Framework reports wrong sys.executable
noreply@sourceforge.net
noreply@sourceforge.net
Thu, 29 Nov 2001 10:21:33 -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: Open
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.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=487152&group_id=5470