Hello,

I want to use the otbApplication within a python script and thus set the 
PYTHONPATH to C:\OSGeo4W\apps\orfeotoolbox\python and the ITK_AUTOLOAD_PATH 
to C:\OSGeo4W\apps\orfeotoolbox\wrapping. If I try to import otbApplication 
into a Python Script I get the error:
Traceback (most recent call last):

  File "<interactive input>", line 1, in <module>
  File "C:\OSGeo4W\apps\orfeotoolbox\python\otbApplication.py", line 25, in 
<module>
    _otbApplication = swig_import_helper()
  File "C:\OSGeo4W\apps\orfeotoolbox\python\otbApplication.py", line 24, in 
swig_import_helper
    return _mod
UnboundLocalError: local variable '_mod' referenced before assignment

Can annybody help me out?
Thanks, Claire

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to