Re: [otb-users] how to use OTB in Spyder(WIN10+Anaconda3+python3)

2019-05-10 Thread yi zhao
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

Re: [otb-users] how to use OTB in Spyder(WIN10+Anaconda3+python3)

2018-10-22 Thread Guillaume Pasero
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,

Re: [otb-users] how to use OTB in Spyder(WIN10+Anaconda3+python3)

2018-10-21 Thread 781633046
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 >

Re: [otb-users] how to use OTB in Spyder(WIN10+Anaconda3+python3)

2018-09-25 Thread Guillaume Pasero
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,