Can multiprocessing.Process() use a different version of the interpreter?

Scott Pigman pigmartian at gmail.com
Mon Oct 4 13:41:56 EDT 2010


On Oct 4, 1:34 pm, Robert Kern <robert.k... at gmail.com> wrote:

> My previous statement notwithstanding, there is a way to hack this. The
> windows-specific implementation of the class multiprocessing.forking.Popen uses
> a global variable, _python_exe, to determine the executable to use. Instead, you

What I've been looking at since I first posted is that that
_python.exe variable is built from sys.exec_prefix.  So, I think that
I can make it work by resetting sys.exec_prefix to the install dir of
the 32 bit version before creating the new Process().



More information about the Python-list mailing list