On Tuesday, March 21, 2017 at 4:45:40 PM UTC+1, Maxime Lefort wrote:
>
> Hello everybody,
>
> I have downloaded OTB 5.10.1, but I am currently struggling to use it with 
> Python. I have tried roughly everything, but I was never able to import 
> otbApplication without receiving an error. I have tried on both Linux and 
> Windows, but would preferably be working with Windows in the future. 
>
> What exactly is there to do to use otbApplication with Python ? Move the 3 
> corresponding files in Python27/Lib ? I have also been running otbenv, with 
> no visible effect (no change in PYTHONPATH).
>

hmm, on my side I have this


C:\Users\admin\Desktop\OTB-5.10.1-win64>echo %PYTHONPATH%
%PYTHONPATH%

C:\Users\admin\Desktop\OTB-5.10.1-win64>otbenv.cmd

C:\Users\admin\Desktop\OTB-5.10.1-win64>echo %PYTHONPATH%
C:\Users\admin\Desktop\OTB-5.10.1-win64\lib\python;

C:\Users\admin\Desktop\OTB-5.10.1-win64>

now if you run python and do "import otbApplication" this will work


 

>
> Thanks for your help,
> Max
>

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