[python-win32] Problems running Python 2.1 and ArcView 9.1

Kevin Ceder hand_sawyer at hotmail.com
Tue Dec 6 19:43:06 CET 2005


Deborah,

I've done quite a bit of work with Python and ArcGIS but have not run into 
this issue and have noticed a couple of things in the ArcGIS install, namely 
that ESRI does not to a full install of Python.  It appears that the 
interpreter commandline help is not installed as well as the "this" module.  
If you haven't imported this module  in the python interactive window you 
should give it a try.

On all my ArcGIS installs I bypass the instal of Python 2.1 and install the 
latest version of Python and PythonWin.  After those installs you need to 
make a couple of registry edits (info on this is avaiable on the ERSI 
support site) so that ArcGIS recognizes the Python install.

If you can include the code that causes the issue I may ba able to provide 
some more help.

Cheers,

kevin

>From: deborah r <samzinho at yahoo.com>
>To: python-win32 at python.org
>Subject: [python-win32] Problems running Python 2.1 and ArcView 9.1
>Date: Tue, 6 Dec 2005 10:16:14 -0800 (PST)
>
>Hello all,
>
>I'm hoping some of you may be able to help me since
>I'm getting nowhere with ESRI tech support on this
>matter.
>
>I was trying to run very simple scripts in Python 2.1
>(e.g., create a folder) but Python would crash every
>time. Someone at ESRI suggested I add the line:
>
>gp.SetProduct("ArcView")
>
>to one of my scripts and run it. It worked, except
>that now I am unable to use any of the tools in
>ArcToolbox that are scripts. If I try running one of
>them, Pythonwin will open the script for that
>particular tool and it hangs. Even if it finishes
>running, no output is created.
>
>Does anybody have a suggestion on how to fix this? I
>have done a complete uninstall of both Python and
>ArcView, deleted every sort of registry, but the
>problem persists...
>
>Thanks!
>
>Deborah
>
>
>
>__________________________________________
>Yahoo! DSL – Something to write home about.
>Just $16.99/mo. or less.
>dsl.yahoo.com
>
>_______________________________________________
>Python-win32 mailing list
>Python-win32 at python.org
>http://mail.python.org/mailman/listinfo/python-win32




More information about the Python-win32 mailing list