Using PythonWin - can't find it!

11190
11
04-12-2010 10:14 AM
SianNightingale
New Contributor
Firstly, apologies if I have posted this thread in the wrong section.

I am currently working through a number of courses during the ESRI annual user licence and the geoprocessing one I am currently plodding my way through instructs me to open PythonWin through Start/Programmes instead of using ArcMap or ArcCatalogue to work through the instructions on how to use scripts.

On my computer, when I got to Start/Programmes/Python 2.5 the options available to me are: IDLE (Python GUI), Module Docs, Python (command line) and Python Manuals, there is no PythonWin. I have attached a screen print of these options. If I open IDLE up, I can view the scripts, but this doesn't appear to be correct, as There is no "Run" option with a man beside it as the course is telling me to do.

Any help greatly appreciated as I still haven't come to fully understand scripts and how they run, which I am trying to do through this course.

Regards,
0 Kudos
11 Replies
CassandraGray
New Contributor III
Firstly, apologies if I have posted this thread in the wrong section.

I am currently working through a number of courses during the ESRI annual user licence and the geoprocessing one I am currently plodding my way through instructs me to open PythonWin through Start/Programmes instead of using ArcMap or ArcCatalogue to work through the instructions on how to use scripts.

On my computer, when I got to Start/Programmes/Python 2.5 the options available to me are: IDLE (Python GUI), Module Docs, Python (command line) and Python Manuals, there is no PythonWin. I have attached a screen print of these options. If I open IDLE up, I can view the scripts, but this doesn't appear to be correct, as There is no "Run" option with a man beside it as the course is telling me to do.

Any help greatly appreciated as I still haven't come to fully understand scripts and how they run, which I am trying to do through this course.

Regards,


I don't believe PythonWin is installed by default, but it is available on the software installation disk. Look for the pywin32-210.win32-py2.5.exe in the Desktop/PythonWin folder.
0 Kudos
SianNightingale
New Contributor
I don't believe PythonWin is installed by default, but it is available on the software installation disk. Look for the pywin32-210.win32-py2.5.exe in the Desktop/PythonWin folder.


Thanks for the help. I will get our IT section (who have all the software discs and administrator rights for the computers) onto it and see if this resolves the problem.
0 Kudos
SianNightingale
New Contributor
The file wasn't on the setup disc but the computer technician downloaded the new 2.6 version of python and now it is sorted. Thanks for your help.
0 Kudos
CodyAichele
New Contributor
I seem to be having the exact same problem, PythonWin is not listed as an option though Start>programs>python.  I have downloaded the latest Python 2.6 and it is still not there.  Am I looking in the wrong area?

I need PythonWin!
0 Kudos
CassandraGray
New Contributor III
I seem to be having the exact same problem, PythonWin is not listed as an option though Start>programs>python.  I have downloaded the latest Python 2.6 and it is still not there.  Am I looking in the wrong area?

I need PythonWin!


I don't believe PythonWin is installed by default, but it is available on the software installation disk. Look for the pywin32-210.win32-py2.5.exe in the Desktop/PythonWin folder.
0 Kudos
CodyAichele
New Contributor
Thank you for a quick reply!

I tried to download pywin32-214.win32-py2.6
now upon trying to run it, my computer says it is not a valid Win32 application and refuses.

Any other suggestions?
0 Kudos
CassandraGray
New Contributor III
Sounds like the download is corrupted. Please try installing it from the ArcGIS Desktop installation disk.
0 Kudos
curtvprice
MVP Esteemed Contributor
Sounds like the download is corrupted. Please try installing it from the ArcGIS Desktop installation disk.


Warning to all!: Do NOT install Python 2.6 - the version you should use is on the install media in the Desktop\PythonWin folder. (2.5.1 for arc 9.3.1, 2.6.2 for arc 10.0, etc).
0 Kudos
RenatoSalvaleon
Occasional Contributor III
I don't believe PythonWin is installed by default, but it is available on the software installation disk. Look for the pywin32-210.win32-py2.5.exe in the Desktop/PythonWin folder.


I installed Python26 with ArcGIS Desktop10 (I used command line) and the shortcuts were created by the install minus the one for PythonWin. At this point PythonWin is not installed yet.

Then I ran the install file mentioned by cassandra and it installed PythonWin in this location ..\Python26\Lib\site-packages. No shortcuts are created.

If you drill down into ..\Python26\Lib\site-packages\pythonwin folder you will see the snake icon for Pythonwin.exe. You can build your shortcut from here.

In my case, after I ran the python win install, I went back to the ArcGIS desktop install media and run the python-2.6.5.msi in ..\ArcGIS_Desktop10\Desktop\Python. I selected Repair install when prompted. The install created the PythonWin shortcut in the menu. It also duplicated the Python Command Line shortcut, so I just deleted the duplicate.

This process was discovered by accident, after installing pythonwin, I attempted to run the GUI by double clicking on pythonw.exe. When it was not working I thought the install was corrupted and reinstalled multiple times until my frustration led me to re-running the Python 26 installion file where I accidentally discovered Python Win shortcut created.

After all this I remembered that this Python install is no different than the most recent installs for ArcGIS 9.3.1. The only difference is the install documentation is incomplete and even misleading.

Hope ESRI can fix their documentation.
0 Kudos