Hi there,

So I am trying to use otb from Python in Windows 7 and I'm not able to do 
it. I guess it must be an installation error.
I copied the example 
from 
https://www.orfeo-toolbox.org/CookBook/OTB-Applications.html#using-the-python-interface,
 
that starts with the lines:

from sys import argvimport otbApplicationprint "Available applications : "print 
str( otbApplication.Registry.GetAvailableApplications() )app = 
otbApplication.Registry.CreateApplication("Smoothing")print 
app.GetParametersKeys()

It prints "Available applications :" but then only "()"

And I get the following error: 

Traceback (most recent call last):
  File "C:\Users\user\Desktop\Soils\Exampleotb.py", line 21, in <module>
    print app.GetParametersKeys()
AttributeError: 'NoneType' object has no attribute 'GetParametersKeys'


It must be something simple but I don't see it. Any clue, please?

I am using OTB 10.1 and Linux 2.7.13 for win64

Thank you!



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