Windows: subprocess won't run different Python interpreter

Thomas Nyberg tomuxiong at gmx.com
Thu Nov 10 17:07:35 EST 2016


On 11/10/2016 04:58 PM, Thorsten Kampe wrote:
> Hi,
>
> I'm trying to run a script with a different Python version by
> extending the path variable and executing "python.exe". It looks like
> subprocess will always run the current executing Python.
>
 > [...]
 >
> Thorsten
>

Have you tried using the full path to the other binary?

Cheers,
Thomas



More information about the Python-list mailing list