On Tuesday, July 31, 2018 at 2:34:53 PM UTC+2, Manuel Grizonnet wrote: > > Hi, > > I don't have a Windows 10 platform to try to reproduce the issue. Does any > otb developers with a Windows machine can try to reproduce the issue? > > @Hendrick: in a terminal can you execute otbenv.bat and then output the > value of the environment PYTHONPATH and send us the value you've got > (command: echo %PYTHONPATH%) > ? > probably a conflict of python version : C:\Program Files\JetBrains\PyCharm Community Edition 2018.1.3
we should avoid setting pythonpath in env or even _otbApplication.so from packages. > > Thanks in advance. > > 2018-07-16 14:37 GMT+02:00 Hendrik Bernert <hendr...@gmail.com > <javascript:>>: > >> >> Hi there, >> >> I have the same problem as described (but not solved) here >> <https://groups.google.com/forum/#!searchin/otb-users/import%7Csort:date/otb-users/DtHrZgyzbGI/omwJyg5bCgAJ>. >> >> I can run the GUI and python obviously can locate the path to >> otbApplciation.py, but I get this error message: >> >> Traceback (most recent call last): >> File "<input>", line 1, in <module> >> File "C:\Program Files\JetBrains\PyCharm Community Edition >> 2018.1.3\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 19, in >> do_import >> module = self._system_import(name, *args, **kwargs) >> File "C:\Program >> Files\OrfeoToolbox\OTB-6.6.0-Win64\lib\python\otbApplication.py", line 21 >> , in <module> >> _otbApplication = swig_import_helper() >> File "C:\Program >> Files\OrfeoToolbox\OTB-6.6.0-Win64\lib\python\otbApplication.py", line 20 >> , in swig_import_helper >> return importlib.import_module('_otbApplication') >> File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module >> __import__(name) >> File "C:\Program Files\JetBrains\PyCharm Community Edition >> 2018.1.3\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 19, in >> do_import >> module = self._system_import(name, *args, **kwargs) >> ImportError: DLL load failed: Die angegebene Prozedur wurde nicht >> gefunden. >> >> I tried everything, from removing and setting all the environment >> variables as described in the post or listed in the otbenv.bat to >> restarting the computer for the changes to take place, but nothing worked. >> Is there anything I'm missing? Where do I have to point to the dll's, which >> for me are located here: >> >> c:\Program Files\OrfeoToolbox\OTB-6.6.0-Win64\bin\ >> >> I'm running on a machine with Windows 10, 64bit, have the OTB installed >> with 64bit and Python 2.7 with 64bit architecture (yes, I'm sure about >> that). I also have GDAL installed under >> >> C:\Program Files\GDAL\ >> >> Any help is much appreciated, thanks 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 otb-...@googlegroups.com >> <javascript:> >> To unsubscribe from this group, send email to >> otb-users+...@googlegroups.com <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 otb-users+...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Manuel Grizonnet > -- -- 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.