Select to view content in your preferred language

PyScripter

10900
10
Jump to solution
06-09-2015 07:34 AM
JohnWhite
Emerging Contributor

Greetings -

I would like to ask for some help with my install of PyScripter. I would like to start using this editor for Python scripts that import ArcPy but I am having an issue with installing it. I am running ArcGIS 10.3 and have the Python 27 folder which points to ArcGIS 10.3 folder which contains all of the DLLs and Libraries etc. for Python.

I have the PyScripter Setup program to install PyScripter version 2.5.3 for the 64-bit version of PyScripter. I am running Windows 7 on a 64-bit machine with Python 2.7 installed.

The problem is that as I go through the setup wizard for PyScripter that I get an error message after the final screen that says "Python could not be properly initialized. We must quit". The desktop icon is put in place but when I click on it I get the same message.

I did notice in the past if I install Python 3.3.2 on my machine that PyScripter will install properly. But the problem then becomes when I try to import ArcPy I get an error message stating that it cannot find ArcPy module. I might add that I do have the Desktop 10.3.pth file in the site-packages folder and that it is pointing to the  following paths:

C:\Program Files (x86)\ArcGIS\Desktop10.3\bin

C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcPy

C:\Program Files (x86)\ArcGIS\Desktop10.3\ArcToolBox\Scripts

My goal is to get PyScripter to work with the current setup I have of ArcGIS 10.3 and Python 2.7. PyScripter looks to be a great IDE for Python and I would like very much to start using it. I've included some screen shots of my setup and the PyScripter installation wizard.

I would greatly appreciate any help or advice that I could get. Thanks.

John

Tags (3)
0 Kudos
10 Replies
MatthewRusso
Emerging Contributor

Thinking about it, I think you have to setup your environments in windows? I could be wrong because I am not able to do this at work (no admin rights).

check this out: Setting Python Path (PythonPath) system variable : KatsBits TUTORIALS

0 Kudos