Hi all,

I am trying installing the otbApplication on Python but it is not working…I 
want to use the \otbcli_LargeScaleMeanShift.bat
file. 
I follow all the discussion on this subject on otb-users group, without 
success.

I have downloaded OTB-6.4.0-Win64.zip (binary package) here : 
https://www.orfeo-toolbox.org/download/ 


I Added 6 paths on the environment variables (System Properties > 
Environment Variables > System variables), on PATH : (see the attached file)
C:\Users\asi\Downloads\OTB-6.4.0-Win64\bin
C:\Users\asi\Downloads\OTB-6.4.0-Win64\lib\python3
C:\Users\asi\Downloads\OTB-6.4.0-Win64\lib\otb\applications
C:\Users\asi\Downloads\OTB-6.4.0-Win64
C:\Users\asi\Downloads\OTB-6.4.0-Win64\bin\otbcli_LargeScaleMeanShift.bat


I change the PYTHONPATH of the otbenv file 
(C:\Users\asi\Downloads\OTB-6.4.0-Win64\otbenv.bat) 
set CURRENT_SCRIPT_DIR=%~dp0
set PATH=%CURRENT_SCRIPT_DIR%bin;%PATH%
set GDAL_DATA=%CURRENT_SCRIPT_DIR%share\data
set GEOTIFF_CSV=%CURRENT_SCRIPT_DIR%share\epsg_csv
set PYTHONPATH=%CURRENT_SCRIPT_DIR%lib\python3;%PYTHONPATH%
set OTB_APPLICATION_PATH=%CURRENT_SCRIPT_DIR%lib\otb\applications
set GDAL_DRIVER_PATH=disable
:: Set numeric locale to C
set LC_NUMERIC=C


I work on jupyter Notebook, with Anaconda (version : conda 4.5.4), and 
Python 3.6.5.
When I enter : 
import otbApplication
the error is :
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-441603f327e2> in <module>()
----> 1 import otbApplication

ModuleNotFoundError: No module named 'otbApplication'


I Don't know what to do to fix it.

Can someone help me or have an idea ?

Thank you very much in advance !!

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