Changing PyScripter to work with different Python Versions
Asked Answered
B

3

11

I'm using PyScripter for writing python programs and I can't figure out how to make it work with Python26 on my computer. When I installed ArcGIS, by default it installs Python26. I then installed PyScripter which found that installation and it worked fine. Later, I installed Python27, and subsequently reinstalled PyScripter.Now Pyscripter uses Python27 and I don't know how to change it.

I've looked at the settings under Tools -> PythonPath and they are as follows:

enter image description here

and also Tools -> Configure Tools

enter image description here

enter image description here

I assume I need to change the python path entries, but what do I change them to? My Python26 installation is found in C:\Program Files (x86)\ArcGIS\Desktop10.0\Bin.

Befitting answered 7/8, 2011 at 17:13 Comment(0)
B
21

If you go to the pyScripter folder in the start menu, it will have a version of pyScripter for Python 2.4 to 3.2. Just run the one corresponding to your Python version.

Bosnia answered 7/8, 2011 at 17:15 Comment(0)
P
7

go to the pyscripter shortcut : right click then select Properties, add the option to the target : --PYTHONXX wherein XX the Python version.

ex : "C:\Program Files\PyScripter\PyScripter.exe" --PYTHON24

Copy/paste another shortcut and modify the option to another python version.

Proteose answered 17/9, 2013 at 10:13 Comment(1)
similar question, I have ver 2.7.5 (in osgeo) and ver 2.7.10 (pyscripter), how do I get pyscripter to use 2.7.5?Gehring
T
1

Easiest way to change the python version in PyScripter is:

Run->Python Version-> Setup Python Versions->Add New Python Version-> Browse to your python exe and select ok.-> Click on Activate Selected Python Version..

Now restart your PyScriptor and your are good to go.

Select python selector option Choose python version

Select default python version

Tackle answered 27/5, 2020 at 18:19 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.