PyScripter could not find a Python version

85 views
Skip to first unread message

GiuGent

unread,
Oct 7, 2024, 11:19:14 AM10/7/24
to PyScripter
Hello,
I'm using successfully PyScripter 3.6.4.0 x86 with the distribution of Python 2.7 installed by ArcMap. I need to work also with Python 3. So I installed Python 3.12 64 bit from python.org
Unfortunately PyScripter was non able to detect Python 3.12 after its installation: as I try to add it manually by selecting the folder where Python 3 was installed, I got the error messa "PyScripter could not find a usable Python installation at the specified path ...".
The folder of Python 3 contains the dll Python312.dll
The installation was made with the option "for all user" and I have not added python to environment variables. The installation folder is "C:\Program Files\Python312 
The system has for Python 3.12 the registry key  [HKEY_LOCAL_MACHINE\Software\Python\PythonCore\3.12\InstallPath] and for Python 2.7 the registry key  [HKEY_LOCAL_MACHINE\Software\WOW6432Node\Python\PythonCore\2.7\InstallPath] 
I have to maintain Python27 to run existing python scripts, but I need also to develop new scripts that requires Python 3.
Please, could you suggest a solution to fix this trouble ?
Thanks a lot

PyScripter

unread,
Oct 7, 2024, 11:50:24 AM10/7/24
to PyScripter
PyScripter 3.6.4.0 is the last version supporting Python 2.7.  However it does not support the newer versions of Python.

What I would recommend is to download the registry-free (zip file) latest version of Python from  PyScripter - Manage /PyScripter-v5.0 at SourceForge.net.   To use the registry-free version just unzip it to a folder of your choice.   They can co-exist with other PyScripter installations.  Then use that version to work with Python 3.12 or the forthcoming Python 3.13.

GiuGent

unread,
Oct 8, 2024, 9:21:29 AM10/8/24
to PyScripter
Many thanks for your reply I'll apply your suggestion

Hemerson Mora

unread,
Nov 22, 2024, 8:51:54 PM11/22/24
to PyScripter
Excellent! works fine, thanks a lot
Reply all
Reply to author
Forward
0 new messages