Hello. I seem to have a similar problem with PyScripter 64 bit.
Instead of a problem with clicking on a version, I can’t get the versions to appear in the version window in the first place.
No matter what path I use, PyScripter says it didn’t find Python at that path. It was mentioned at the beginning that…
You can add your python versions to PyScripter in that dialog. Just press the + key and select the directory that contains python.exe and pythonxy.dll.
The path I use contains python.exe but not pythonxy.dll. I did a search for it and found no results. Might that be the reason?
Also, if this helps, PYTHONHOME
did not appear when I typed set
in the directory.
Let me know if you can help.
I have a copy of 32 bit Python 2.7 installed from python.org on my windows 10 computer. I had this working with a previous version of Pyscripter. However, when I uninstalled Pyscripter and then installed Pyscripter 4.0 x86 version, Pyscripter is unable to detect my Python instance. I have tried using the + symbol to select the Python27 folder using both the registered and unregistered version items without success.
There is no PYTHONHOME or PYTHONPATH defined when I look at environment variables.
Interestingly I do not see registry keys for Python. Is it standard for the Python2.7 installer to add registry keys? Are these necessary for it to find python?
I also looked for the python27.dll. This was not included in the Python27 folder, but could be found in c:windowsSysWOW64.
What do I need to do to get Pyscripter configured to use python. Do I need to reinstall python?
Glenn Decker
unread,
Dec 11, 2019, 6:36:40 PM12/11/19
to PyScripter
Hey all,
I’m having some difficulty getting PyScripter up and running — particularly, it’s not finding the Python Engine I downloaded and I can’t manually find it. I’ve attached a document laying out what I’ve done and the errors i’m receiving.
Here are the steps I’ve taken (attached images of the errors), and what I’ve tried in trouble shooting so far:
- Download latest Python release, “Windows
x86-64 embeddable zip file”, from https://www.python.org/downloads/windows/ - Download latest Pyscripter release,
“PyScripter-3.6.2-x64.zip”, from https://sourceforge.net/projects/pyscripter/files/PyScripter-v3.6/ - After both are installed, I load
up the Pyscripter - I then receive this error on start
up: “PyScripter could not load a Python engine.. **Before* using PyScripter,
you must ensure that a version of Python greater or equal…” - I then try to ‘manually’ find it
with the “Python Versions” “+” option - At first, I can’t find the folder
location for Python in this version (the “App Data” folder is hidden in this
search) - I created a copy of that folder in
someplace I can actually find it in that search - I select it and press OK, and
receive this error: “PyScripter could not find a usable Python installation at
the specified path. Note…”
Here are some other troubleshooting I’ve tried:
- Uninstalled and reinstalled both
- Confirmed I have a 64-bit version of both, that aligns with my 64 bit Windows 10
- Tried different versions of Python (e.g. 3.9, 3.5, etc)
- Searched message boards and FAQs for a solution
Any help/guidance is greatly appreciated!
Could not load engine….png
Manually finding Python on my computer.png
Could not find usable python.png
Jadranko Belusic
unread,
Dec 11, 2019, 7:17:25 PM12/11/19
to pyscr…@googlegroups.com
I have python 3.8 and pyscripter last version, both are 32 bit. Try 32 bit maybe?
# Poslano sa smartfona #
PyScripter
unread,
Dec 11, 2019, 7:29:59 PM12/11/19
to PyScripter
Glen
As you mentioned in the email sent to me, you are using the “Windows x86-64 embeddable zip file” Python distribution. This Python distribution is for specific scenarios (embedding Python into an application) — see for instance https://stackoverflow.com/questions/37633550/python-embeddable-zip- and it is not (could not) be supported by PyScripter. To use PyScripter you need to install Python in the standard way using an installer.
PyScripter
unread,
Dec 11, 2019, 8:23:53 PM12/11/19
to PyScripter
Actually PyScripter does work with the “Windows
x86-64 embeddable zip file”!! Just tried it with Python 3.6.
You will need to unzip the Python embeddable zip file to a directory of your choice.
— In the Python Versions dialog you will need to add an Unregistered Python version (press the plus icon) and specify the directory in which you unzipped the Python embeddable zip file.
— Finally you activate the created unregistered distribution.
Note that embeddable distributions do not include pip, so you will not be able to install packages using pip via the Tools menu item.
On Wednesday, December 11, 2019 at 5:36:40 PM UTC+2, Glenn Decker wrote:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
I have a copy of 32 bit Python 2.7 installed from python.org on my windows 10 computer. I had this working with a previous version of Pyscripter. However, when I uninstalled Pyscripter and then installed Pyscripter 4.0 x86 version, Pyscripter is unable to detect my Python instance. I have tried using the + symbol to select the Python27 folder using both the registered and unregistered version items without success.
There is no PYTHONHOME or PYTHONPATH defined when I look at environment variables.
Interestingly I do not see registry keys for Python. Is it standard for the Python2.7 installer to add registry keys? Are these necessary for it to find python?
I also looked for the python27.dll. This was not included in the Python27 folder, but could be found in c:windowsSysWOW64.
What do I need to do to get Pyscripter configured to use python. Do I need to reinstall python?
Glenn Decker
unread,
Dec 11, 2019, 6:36:40 PM12/11/19
to PyScripter
Hey all,
I’m having some difficulty getting PyScripter up and running — particularly, it’s not finding the Python Engine I downloaded and I can’t manually find it. I’ve attached a document laying out what I’ve done and the errors i’m receiving.
Here are the steps I’ve taken (attached images of the errors), and what I’ve tried in trouble shooting so far:
- Download latest Python release, “Windows
x86-64 embeddable zip file”, from https://www.python.org/downloads/windows/ - Download latest Pyscripter release,
“PyScripter-3.6.2-x64.zip”, from https://sourceforge.net/projects/pyscripter/files/PyScripter-v3.6/ - After both are installed, I load
up the Pyscripter - I then receive this error on start
up: “PyScripter could not load a Python engine.. **Before* using PyScripter,
you must ensure that a version of Python greater or equal…” - I then try to ‘manually’ find it
with the “Python Versions” “+” option - At first, I can’t find the folder
location for Python in this version (the “App Data” folder is hidden in this
search) - I created a copy of that folder in
someplace I can actually find it in that search - I select it and press OK, and
receive this error: “PyScripter could not find a usable Python installation at
the specified path. Note…”
Here are some other troubleshooting I’ve tried:
- Uninstalled and reinstalled both
- Confirmed I have a 64-bit version of both, that aligns with my 64 bit Windows 10
- Tried different versions of Python (e.g. 3.9, 3.5, etc)
- Searched message boards and FAQs for a solution
Any help/guidance is greatly appreciated!
Could not load engine….png
Manually finding Python on my computer.png
Could not find usable python.png
Jadranko Belusic
unread,
Dec 11, 2019, 7:17:25 PM12/11/19
to pyscr…@googlegroups.com
I have python 3.8 and pyscripter last version, both are 32 bit. Try 32 bit maybe?
# Poslano sa smartfona #
PyScripter
unread,
Dec 11, 2019, 7:29:59 PM12/11/19
to PyScripter
Glen
As you mentioned in the email sent to me, you are using the “Windows x86-64 embeddable zip file” Python distribution. This Python distribution is for specific scenarios (embedding Python into an application) — see for instance https://stackoverflow.com/questions/37633550/python-embeddable-zip- and it is not (could not) be supported by PyScripter. To use PyScripter you need to install Python in the standard way using an installer.
PyScripter
unread,
Dec 11, 2019, 8:23:53 PM12/11/19
to PyScripter
Actually PyScripter does work with the “Windows
x86-64 embeddable zip file”!! Just tried it with Python 3.6.
You will need to unzip the Python embeddable zip file to a directory of your choice.
— In the Python Versions dialog you will need to add an Unregistered Python version (press the plus icon) and specify the directory in which you unzipped the Python embeddable zip file.
— Finally you activate the created unregistered distribution.
Note that embeddable distributions do not include pip, so you will not be able to install packages using pip via the Tools menu item.
On Wednesday, December 11, 2019 at 5:36:40 PM UTC+2, Glenn Decker wrote:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
PyScripter could not load a Python engine
I have installed python but there is a error message «PyScripter could not load a Python engine» and when I click «OK» there is no python versions in registered versions AND unregistered versions…
You can add your python versions to PyScripter in that dialog. Just press the + key and select the directory that contains python.exe and pythonxy.dll.
PyScripter doesn’t come with python. You need to have some python distribution installed. Just remember:
The 64-bit version of PyScripter (x64) works only on 64-bit Windows and with 64-bit versions of Python. The 32-bit version of PyScripter works on both 32-bit and 64-bit Windows with the 32-bit versions of Python.
I downloaded python 3.7 (32bit) and attempted to load it in PyScripter, but got this same message. It’s placed in Unregistered Versions. Python 2.7 (32 bit) works fine.
Is this a standard Python distribution for python.org?
Are you on Windows 64bit?
Are you using PyScripter 3.4.2?
Yes, the 3.7 download was from python.org
Yes, I’m using Windows 10 Pro 64 bit
I can’t figure out what version of PyScripter I’m using?
It looks like I am using v3.4.1. I will try updating to 3.4.2.
I’ve updated to 3.4.2 and continue to see this message when attempting to switch versions.
What happens if you press the test button? Are you sure you have installed the 32-bit version of python 3.7? Enter the python shell and have a look at the top line.
Also check the registry. Does the key ComputerHKEY_CURRENT_USERSoftwarePythonPythonCore3.7-32 exist and does ComputerHKEY_CURRENT_USERSoftwarePythonPythonCore3.7-32InstallPath point at the correct directory?
I hit the test button for both versions of 3.7 you see in the screen shot and they are 32 bit.
Yes and Yes. The install path folder contents point to where I put them/where I set PyScripter to find them.
Strange. PyScripter works fine here with 3.7.0 and 3.71.
I see that is listed in the list of registered versions. Did you try activating what appears as registered version? You probably did and I guess activating that fails as well. (?).
If you open a command prompt, and issue
>Set
do you see any python related variables? (PYTHONHOME or something similar)?
Yes, I tried activating both registered and unregistered. They both give you the same message.
Yes, I did get a whole bunch of variables after typing >Set
.
This PYTHONHOME= looks very suspicious to me. Normally when an environment variable is empty it does not show. Try to get rid of it.
Windows 10 and Windows 8
- In Search, search for and then select: System (Control Panel)
- Click the Advanced system settings link.
- Click Environment Variables. In the section System Variables, find the PATHHOME environment variable and delete it.
I don’t see a PATHHOME variable in the Environment Variables menu?
In PyScripter in 2.7 I ran:
import sys
sys.path
Pyscripter is installed in Program Files (x86) folder. I’m on a x64 bit PC.
In Tools >> Python Path I noticed there was no path pointing to the 3.7 version. Do I need to add that path here?
I browsed to 3.7-32 in this window and the Added it. Then I closed out of PyScripter, opened it again and went to this same menu, but the path was no longer there?
- The Python path dialog is for temporary changes to the python path. Not useful here.
- In Windows 64 bit, 32 bit applications are installed in c:program files (x86). So it is normal that PyScripter 32bit is installed in that folder.
What might be causing the trouble is the PYTHONHOME (not PATHHOME) environment variable. If you look at the image with the output of the SET command it has a line:
PYTHONHOME=
This is indicates that the PYTHONHOME environment variable is defined with a non blank value (could be a space for example) .
What I told you above is to remove this environment variable. You can do so by following the instructions
- Press the Window button and type «Control Panel»
- In the Control Panel select «System and Security»
- In System and Security select System
- Click on «Advanced System Settings»
- In the dialog box «System Properties» click the button Environement Variables. Is there PYTHONHOME variable defiined there either in local or system variables?
It has to be since I cannot see any other way it would be listed when you issue the SET command. Delete it and start PyScripter again.
In addition or instead you can check the registry entries:
HKCUEnvironment
HKLMSYSTEMCurrentControlSetControlSession ManagerEnvironment
to see whether PYTHONHOME is defined there.
Yes, I ran through the environment variables but did not see PYTHONHOME=
. And when I run >Set
in the command prompt I’m no longer seeing PYTHONHOME=
.
And nowhere in the registry did I see PYTHONHOME.
I am sorry. I am running out of ideas.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Устанавливаем и знакомимся с новой IDE PyScripter для использования с языком программирования Python 2.7.1 или Python 3.8. Это небольшое руководство для начинающих. Мы будем работать в операционной системе Windows.
Содержание
- Узнаем версию Windows
- Скачиваем Python
- Устанавливаем Python
- Скачиваем PyScripter
- Устанавливаем PyScripter
- Пишем свою первую программу
Узнаем версию Windows
Перед установкой Python мы должны уточнить версию Windows — 64-битная или 32-битная.
Сделать это можно так:
- Нажмите кнопку «Пуск» и нажмите «Настройки».
- Затем перейдите в Систему, а затем «О системе».
- Тип вашей системы будет отображать 64 бит или 32 (см. изображение ниже)
- Зафиксируйте версию, чтобы дальше на всех этапах версии программ подходили под ОС.
В Windows 7 посмотреть версию ОС можно так:
- Нажимаем «Пуск»
- Находим в правой панели «Компьютер»
- Жмем правой кнопкой мыши на «Компьютер» и выбираем «Свойства»
- Видим версию ОС (см. изображение ниже)
Далее нам нужно скачать Python. На этом шаге возникает много вопросов, т.к. есть много программ под 2-ю версию языка программирования Python (например, 2.7.1). Новая стабильная версия — 3.8.2.
Новичкам, тем кто только приходит в Питон, можно спокойно ставить последнюю стабильную версию. Если вам необходимо использовать 2.7.*, вам следует скачать соответствующую версию.
Не забудьте скачать правильную версию под вашу версию Windows (64 или 32 бита). Все версии Python для Windows можно скачать на официальном сайте.
- Переходим на сайт Python.
- Прокручиваем страницу вниз.
- Выбираем нужную версию (2.7.* или 3.8.*).
- Выбираем установщик «Windows x86-64» для 64-битных машин или «Windows x86» для 32-битных.
После того, как вы скачали Python продолжим с его установкой.
- Запустите .exe и ОБЯЗАТЕЛЬНО установите флажок «Добавить Python в PATH» (см. изображение ниже), на английском — «Add Python to PATH».
- Затем нажмите «Установить сейчас» (Install Now).
- По окончании вы можете нажать «отключить ограничение длины пути» (disable path length limit).
Теперь у вас установлен Python. Вы можете закрыть установщик.
Скачиваем PyScripter
Теперь пришло время скачать IDE PyScripter — интегрированную среду разработки В ней вы будете писать код и запускать интерпретатор.
Для скачивания нашей среды разработки делаем следующее:
- Перейдите на сайт Sourceforge.
- Нажмите на актуальную версию (например, PyScripter-v3.6)
- Нажмите на версию x64-setup (для 64-битных компьютеров) или x86-setup (для 32-битных компьютеров), например, PyScripter-3.6.3-x64-Setup.exe.
- Ждем скачивания установщика.
Также *.exe файл установщика PyScripter версии 3.6.3 вы можете скачать ниже в zip-архиве см нашего сайта:
Разархивируйте файл перед установкой.
Устанавливаем PyScripter
Пройдемся по шагам установщика нашей IDE. Установка в целом стандартная:
- Выберите ваш язык.
- Нажмите «Далее».
- Выберите место установки. По умолчанию здесь все в порядке. Выберите «Далее».
- Снова нажмите «Далее» на экране папки «Пуск».
- Если вы хотите, чтобы на рабочем столе был ярлык, то вы можете выбрать его на этом экране. (см. изображение ниже).
- Нажимайте «Далее» и дождитесь завершения установки.
Пишем свою первую программу
После того, как вы успешно установили PyScripter, вы можете запустить IDE PyScripter и написать свою первую программу.
- Перейдите на рабочий стол и дважды щелкните значок PyScripter.
- Он должен открыться без ошибок. Если нет, то тут обычно два вариант:
— вы, вероятно, установили 64-битный Python с 32-битным PyScripter (или наоборот);
— вы установили PyScripter, но НЕ УСТАНОВИЛИ сам Python.
Теперь давайте напишем вашу первую программу.
Стираем в главном экране редактора код:
def main(): pass if __name__ == '__main__': main()
Далее набираем классическую программу вывода «Привет, мир!»:
print ( 'Hello World!')
Далее нажимаем зеленую кнопку «Run» (рус. — запуск) в верхнем ряду иконок управления, чтобы запустить вашу программу.
Вы увидите, что интерпретатор вывел ваш текст ниже в консоли.
Вы можете в консоли задавать команды и получать ответы. Например, набрав «2+2» и нажав «Enter» вы получите ответ 4.
На этом всё. Мы установили Python, среду разработки PyScript и написали первую программу. Дальше только безграничная фантазия.
6 марта 2020 в 16:28
| Обновлено 7 ноября 2020 в 01:19 (редакция)
Опубликовано:
Статьи, Python
I am trying to get PyScripter 3.3 64-bit to run on my desktop computer. I was successful in getting PyScripter 32-bit to run, but I require the 64-bit version.
It seems that it is unable to recognize the Python (3.6.2) engine that was installed with ArcGIS Pro 2.1, when I attempt to launch PyScripter I receive the following error:
What steps should I take to get PyScripter to recognize my installed version of Python?
*Note: I also currently have ArcGIS Desktop software installed on my computer with its version of Python (2.7.14).
PolyGeo♦
64.8k29 gold badges107 silver badges329 bronze badges
asked Mar 27, 2018 at 21:38
2
I did a lot of research and determined that Pyscripter does not work well with virtual environments; therefore it does not work well with ArcGIS Pro 2.1; and I was unable to get them to connect.
I attempted to install Sypder from the Python Packages provided with ArcGIS Pro 2.1, but unfortunately I could not get them to work either; as the install kept failing. I contacted Esri regarding this issue and they stated that ‘this problem can occur when the Python Package Manager doesn’t have permissions to folders, or network access to reach the modules stored in Conda’. Then they suggested that I run conda install -c anaconda spyder
in the Python Command Prompt, and it worked to install the package as long as I was running the Python Command Prompt as an Administrator. This successfully installed the Spyder package.
So I installed PyCharm Community Edition (https://www.jetbrains.com/pycharm/download/#section=windows); and everything seems to work properly now. For the setup I followed the steps in the initial post at the following link (https://community.esri.com/docs/DOC-8359) and I am now able to work with the correct version of python.
answered Apr 4, 2018 at 16:11
RosemaryRosemary
1401 silver badge14 bronze badges
I have ArcGIS Pro 2.3.1 installed along with Pyscripter 3.4.2 64bit.
Running Anaconda Python 3.6.6 64bit (managed by ArcPro)
stock Python location, read-only
C:\Program Files\ArcGIS\Pro\bin\Python\envs\arcgispro-py3
From the Pro Python Package Manager, I’ve Cloned and Activated Python to a new env.
C:\Users\yourname\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone
the ever important ArcGIS PTH file is present,
arcgispro-py3-clone\Lib\site-packages\ArcGISPro.pth
to add the venv to Pyscripter,
Run, Python version, Setup Python, +, path to the conda env folder (arcgispro-py3-clone in my case)
answered Mar 14, 2019 at 0:30
klewisklewis
7,45516 silver badges19 bronze badges
PyScripter, at least recent versions, work fine with ArcGIS Pro and conda environments. See the blog post on Using PyScripter with ArcGIS Pro for details.
If there are folder permission issues mentioned above you can run PyScripter as an Administrator.
PolyGeo♦
64.8k29 gold badges107 silver badges329 bronze badges
answered Feb 2, 2019 at 15:54
1