[FWTools] Error:No module named gdaltest

Travis Kirstine traviskirstine at gmail.com
Wed Jun 25 08:47:55 EDT 2008


I'm try to test ogr - sde connection using the ogr_sde.py example
provided by Howard Butler.  The problem I have is that I cannot import
or find the gdaltest module.

C:\Program Files\FWTools2.2.1>python
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import  os
>>> import sys
>>> import string
>>> sys.path.append ( '../pymod' )
>>> import gdaltest
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named gdaltest
>>> print sys.path
['', 'C:\\PROGRA~1\\FWTOOL~2.1\\pymod', 'C:\\PROGRA~1\\FWTOOL~2.1\\bin\\python23
.zip', 'C:\\PROGRA~1\\FWTOOL~2.1\\python\\DLLs', 'C:\\PROGRA~1\\FWTOOL~2.1\\pyth
on\\lib', 'C:\\PROGRA~1\\FWTOOL~2.1\\python\\lib\\plat-win', 'C:\\PROGRA~1\\FWTO
OL~2.1\\python\\lib\\lib-tk', 'C:\\PROGRA~1\\FWTOOL~2.1\\python', 'C:\\PROGRA~1\
\FWTOOL~2.1\\python\\lib\\site-packages', 'C:\\PROGRA~1\\FWTOOL~2.1\\python\\lib
\\site-packages\\Numeric', '../pymod']

Any help would be appreciated.
Travis K.

Toronto, Canada
"She knows there's no success like failure
And that failure's no success at all."
-Bob Dylan-

More information about the FWTools mailing list