Hello,

Did you already find a solution for your problem? I think I have the same 
issue. I added the paths of for OTB right, but still get a similar error. I 
am using spyder (with python 2.7):

import otbApplication
Traceback (most recent call last):

  File "<ipython-input-1-441603f327e2>", line 1, in <module>
    import otbApplication

  File 
"C:\Software\OTB-6.6.1-Win64\OTB-6.6.1-Win64\lib\python\otbApplication.py", 
line 17, in <module>
    _otbApplication = swig_import_helper()

  File 
"C:\Software\OTB-6.6.1-Win64\OTB-6.6.1-Win64\lib\python\otbApplication.py", 
line 16, in swig_import_helper
    return importlib.import_module('_otbApplication')

  File "C:\ProgramData\Anaconda2\lib\importlib\__init__.py", line 37, in 
import_module
    __import__(name)

ImportError: DLL load failed: Kan opgegeven procedure niet vinden.


Thanks and kind regards,
Jasper

Op dinsdag 13 november 2018 14:32:40 UTC+1 schreef sampath...@gmail.com:
>
> Hi, 
>
> I am trying to import OTB application into python console of QGIS but i am 
> getting the following error(s).
>
>
>
> import otbApplication
> Traceback (most recent call last):
>   File "<input>", line 1, in <module>
>   File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 
> 607, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "E:\Amrut\software\OTB\lib\otb\python\otbApplication.py", line 21, 
> in <module>
>     _otbApplication = swig_import_helper()
>   File "E:\Amrut\software\OTB\lib\otb\python\otbApplication.py", line 20, 
> in swig_import_helper
>     return importlib.import_module('_otbApplication')
>   File "C:\PROGRA~2\QGIS2~1.18\apps\Python27\lib\importlib\__init__.py", 
> line 37, in import_module
>     __import__(name)
>   File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 
> 607, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: DLL load failed: %1 is not a valid Win32 application.
>
>
>
> i am using QGIS 2.18 and OTB 5.8
>
> if possible, please help me out.
>
> with
> Thanks and Regards,
> Sampath
>
>
>
>

-- 
-- 
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to