How to change the version of python that pyscripter uses

user2494706 picture user2494706 · Jun 17, 2013 · Viewed 20.1k times · Source

I am a newb with python and just learning what to do.

I am using pyscripter and have been for a while whilst learning.

I am now going through an online course which is taught in 2.6, yet my pyscripter uses the latest. I need to know how to change it to use an older version, I have seen replies about changing the PATH variable but not where it is or how to do it.

I have 3 versions of python on my machine, 25,26 and 33.

Answer

myrphy picture myrphy · Jan 12, 2014

I don't know if this is the best way to do it, but those are the two ways I did it:

WAY 1 (The best of two)
Go to PyScripter>>Tools>>Options...>>Custom Parameters... and add the following values

 1. PythonDir = C:\Program Files\CustomPythonInstallation
 2. PythonExe = C:\Program Files\CustomPythonInstallation\python.exe
 3. PythonVer = 3.3.3

 Note: Adapt the Name = Value pairs above to your case.

And close the window with OK button. Now select PyScripter>>Run>>Python Engine>>Remote and your are ready to go.

WAY 2 (The more temporary solution)
Go to PyScripter>>Run>>Configure External Run... set the "Application:" field to your python.exe file Close the window with OK button. Make sure you run your scripts with PyScripter>>Run>>External Run (Alt+F9)

I hope this helped, good luck.