- Ensure that SNAP is installed
- Open your command line (cmd)
- Move to your SNAP installation
cd C:\%SNAP%\bin
e.g.cd C:\GIS\SNAP\bin
- Configure the bat-file
snappy-conf.bat %PYTHON%
where %PYTHON% is the full path to your python.exe
e.g.snappy-conf.bat C:\Python27\python.exe
- This creates a hidden folder in your user directory called .snap
- Open the folder .snap\snap-python\ in your browser and copy the folder snappy into the site-packages folder of your python installation
e.g.C:\Python27\Lib\site-packages\snappy
- Open your Python environment
import snappy
(this imports the module and should now give no error)
2 Likes