Import productIO Error

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?

@marpet Do you know the reason? Thanks in advance.

This is due to you have not successfully installed jpy or some problem happened when python script link to the java modules. Tell more about your operation system and your installation process to let us know where the problem is.