7***@qq.com
2018-09-25 02:33:52 UTC
Dear All,
I set system paths of OTB (In System Properties > Environment Variables >
System variables, 1. PYTHONPATH > C:\OTB\lib\python2. Path > C:\OTB\bin3.
OTB_APPLICATION_PATH > C:\OTB\lib\otb\applications),but still cannot import
OTB correctly.I have a question that when I use 'import otbApplication' in
Spyder, Import Error will appear like these:
Traceback (most recent call last):
File "<ipython-input-1-441603f327e2>", line 1, in <module>
import otbApplication
File "C:\OTB\lib\python3\otbApplication.py", line 21, in <module>
_otbApplication = swig_import_helper()
File "C:\OTB\lib\python3\otbApplication.py", line 20, in
swig_import_helper
return importlib.import_module('_otbApplication')
File "C:\Users\78163\Anaconda3\lib\importlib\__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed
I have no ideas how to deal with this question.what can I do to make
'import otbApplication' run correctlyïŒ
All ideas are welcome!
--
--
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
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I set system paths of OTB (In System Properties > Environment Variables >
System variables, 1. PYTHONPATH > C:\OTB\lib\python2. Path > C:\OTB\bin3.
OTB_APPLICATION_PATH > C:\OTB\lib\otb\applications),but still cannot import
OTB correctly.I have a question that when I use 'import otbApplication' in
Spyder, Import Error will appear like these:
Traceback (most recent call last):
File "<ipython-input-1-441603f327e2>", line 1, in <module>
import otbApplication
File "C:\OTB\lib\python3\otbApplication.py", line 21, in <module>
_otbApplication = swig_import_helper()
File "C:\OTB\lib\python3\otbApplication.py", line 20, in
swig_import_helper
return importlib.import_module('_otbApplication')
File "C:\Users\78163\Anaconda3\lib\importlib\__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed
I have no ideas how to deal with this question.what can I do to make
'import otbApplication' run correctlyïŒ
All ideas are welcome!
--
--
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
To unsubscribe from this group, send email to
otb-users+***@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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.