Hi,everyone.I’m want to process the Sentinel-1 data based on Python.However, when I initiate with snappy and run it successfully I cannot import productIO from snappy.And I encounter the Import Error as below:
Traceback (most recent call last):
File “”, line 1, in
runfile(‘G:/2016.06.Sen/snappy_glcm.py’, wdir=‘G:/2016.06.Sen’)
File “D:\Anaconda2\Lib\site-packages\spyder\utils\site\sitecustomize.py”, line 880, in runfile
execfile(filename, namespace)
File “D:\Anaconda2\Lib\site-packages\spyder\utils\site\sitecustomize.py”, line 87, in execfile
exec(compile(scripttext, filename, ‘exec’), glob, loc)
File “G:/2016.06.Sen/snappy_glcm.py”, line 15, in
from snappy import ProductIO
ImportError: cannot import name ProductIO
What’s the reason for the situation?