pythonsnappy

Import Error: No module named snappy


I am trying the software SNAP in Python. I have installed SNAP and the module Snappy. But when I try to import snappy through python GUI I am getting this error:

Import Error: No module named snappy

My python version is 2.7.10. I have checked the bit compatibility of SNAP and Python it's ok.

snap installed in cmd, here's the Python GUI error:

How can I solve it?


Solution

  • The path that you append should not have the last component ('\snappy'). A path is the name of the folder where Python will search for your modules, not the name of the module folder. This solved it @DYZ