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