Hi Tim: I've just upgraded my ArcView to 9.2 with Python version 2.4. I'm hoping that might fix my problem. Thanks for responding. SWG
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Wednesday, December 27, 2006 12:51 PM To: Python-Win32 List Subject: Re: [python-win32] Getting Started Stacey Gamble wrote: > > I'm a new Python user, trying to use the geoprocessing dispatch > object. I get an error message as soon as I import the > win32com.client. See below. What am I doing wrong? > > >>> Unhandled exception while debugging... > > Traceback (most recent call last): > > File "C:\Python21\win32com\__init__.py", line 32, in SetupEnvironment > > __path__.append( win32api.RegQueryValue(key, "Extensions" )) > > error: (2, 'RegQueryValue', 'The system cannot find the file specified.') > > [Dbg]>>> > What version of the pywin32 stuff did you install, and where did you get it? This key is optional, and this read should be wrapped in a try/except block. Python 2.1 is very, very old. You would be much better served by upgrading to 2.4 -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32 _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32