[python-win32] Getting Started
Stacey Gamble
SGamble at madera-county.com
Wed Dec 27 22:16:36 CET 2006
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: python-win32-bounces+sgamble=madera-county.com at python.org
[mailto:python-win32-bounces+sgamble=madera-county.com at python.org] 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, timr at probo.com
Providenza & Boekelheide, Inc.
_______________________________________________
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