Richard Tew wrote:
On Sat, Jan 17, 2009 at 6:31 PM, Ben Sizer <[email protected]> wrote:
1) Why does this happen? I'm guessing it comes from
HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\2.5\PythonPath in the
Windows registry. (Referencing
http://mail.python.org/pipermail/python-list/2003-August/221621.html
.)
Probably. This is a standard Python thing, Stackless can only be
installed as the Python installation of a given version, it can't run
cleanly side-by-side and this is not going to change.
2) How can I make it only look in my Stackless installation? I am not
in a position to overwrite my normal install with the Stackless
binaries or make any system-wide changes that will impact other Python
programs, such as altering that registry key.
Write a bat script to launch your application and modify the relevant
environment variables Python uses there?
Cheers,
Richard.
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless
Wouldn't just 'import sys' and modifying sys.path at the start of the
python script fix all of this?
_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless