ok, thank you for your reply Le vendredi 17 août 2018 15:15:48 UTC+2, Guillaume Pasero a écrit : > > Hi, > > I think the OTB packages on osgeo4w are obsolete, and they will not work > with Python 3. You should rather try the standalone OTB package for windows > : > > https://www.orfeo-toolbox.org/download/ > > With OTB 6.6, you should be able to use Python 2.7 and Python 3.5 > > Regards, > > Guillaume > > On 08/17/2018 11:32 AM, Rad chrt wrote: > > Hello, > > I installed otb from osgeo4w with python 2.7, I updated python to 3.6 with > the "py3_env" command. When I test import otbApplication from osgeo shell, > this error message is displayed > > C:\>python3 > Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 > bit (AMD64)] on win32 > Type "help", "copyright", "credits" or "license" for more information. > >>> import otbApplication > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "C:\OSGEO4~2\apps\orfeotoolbox\python\otbApplication.py", line 28, > in <module> > _otbApplication = swig_import_helper() > File "C:\OSGEO4~2\apps\orfeotoolbox\python\otbApplication.py", line 24, > in swig_import_helper > _mod = imp.load_module('_otbApplication', fp, pathname, description) > File "C:\OSGEO4~2\apps\Python36\lib\imp.py", line 242, in load_module > return load_dynamic(name, filename, file) > File "C:\OSGEO4~2\apps\Python36\lib\imp.py", line 342, in load_dynamic > return _load(spec) > ImportError: Module use of python27.dll conflicts with this version of > Python. > >>> > > Can you please solve this problem > > Thanks > -- > -- > 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.
