Hi all,
I set up all variables according to otbenv.bat and it worked in the command
line
[image: 微信截图_20190511101233.png]
But it failed when I tried to import in spyder, it said:
import os
os.system('D:\OTB-6.6.1-Win64\otbenv.bat')
Out[4]: 0
import otbApplication
Traceback (most recent call
Hi,
Does Anaconda use python3.5 ?
Can you check if the applications Monteverdi or Mapla work ?
Also, it seems to be a DLL loading error, do you have an error popup
? (in english ...)
Regards,
Guillaume
On 10/22/2018 04:00 AM,
Dear Guillaume
Thank you for your help, but it still can not make 'import
otbApplication' run correctly. So, there may be other mistakes in it.
在2018年9月25日星期二17:25:35 UTC + 8,William Pasero写道:
>
> 嗨,
>
> 我认为这是在您的PYTHONPATH一个错误,为Python 3中你不宜使用“C:\ OTB \ lib中\ python3”。
> 它应该适用于3.5的Python
>
Hi,
I think there is a mistake in your PYTHONPATH, for python 3 you
should use "C:\OTB\lib\python3". It should work with Python 3.5
Regards,
Guillaume
On 09/25/2018 04:33 AM,
781633...@qq.com wrote:
Dear All,