Hi,
Is that working for you, i followed the same setting all the paths, but
still i am getting error as given below.
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.
if possible, please help me out.
with
Thanks and Regards,
Sampath
On Wednesday, July 12, 2017 at 9:53:18 PM UTC+5:30, Guillaume Pasero wrote:
>
> Hi,
>
> Okay, it seems to be the right solution. The otbenv.cmd script will be
> fixed in the next release.
>
> Regards,
>
> Guillaume
>
> On 07/10/2017 01:27 AM, CyberGIS wrote:
>
> I seem to have found a solution. Not sure if this is enough to
> successfully run otb applications. Here's what I did anyway.
>
> In System Properties > Environment Variables > System variables, I added
> three paths (Variable > Value) as follows,
>
> 1. PYTHONPATH > C:\Software\OTB-contrib-6.0.0-win64\lib\python
> 2. Path > C:\Software\OTB-contrib-6.0.0-win64\bin
> 3. OTB_APPLICATION_PATH >
> C:\Software\OTB-contrib-6.0.0-win64\lib\otb\applications
>
> Adjust the paths to your 'python' and 'bin' folders according to where you
> have unzipped the OTB application.
>
> Cheers
>>
>>
>>>
>>> --
> --
> 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]
> <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> 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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> <http://www.c-s.fr> *Guillaume PASERO*
> Responsable technique
> *Business Unit ESPACE & GeoInformation - Département Payload Data &
> Applications*
>
> *CS Systèmes d'Information*
> Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
> 31506 Toulouse Cedex 05 - FRANCE
> +33 561 17 64 21 - [email protected] <javascript:>
>
--
--
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.