i have installed python mapscript but when i'm trying to import it in IDLE by giving import mapscript command , an error is being displayed
Traceback (most recent call last):
File "", line 1, in
import mapscript
File "C:\Python26\ArcGIS10.0\lib\site-packages\mapscript.py", line 25, in
_mapscript = swig_import_helper()
File "C:\Python26\ArcGIS10.0\lib\site-packages\mapscript.py", line 24, in
swig_import_helper
return _mod
UnboundLocalError: local variable '_mod' referenced before assignment
what to do???