Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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???

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.