Hello Marpet,
I have a windows 10 operating system with 8 GB RAM, with Anaconda 3.7 version installed on my computer. I installed snappy using conda command, but running the following command shows import error:
from snappy import ProductIO gives an error.
ImportError: cannot import name ‘ProductIO’ from ‘snappy’ (F:\Python\Anaconda_3.0\envs\gdal_env\lib\site-packages\snappy_init_.py)
After going through topics related to snappy in step forum, I reinstalled SNAP software with python 3.6 version.Then in the SNAP command line, I gave the following command-
**snappy-conf.bat F:\python3.6\python-3.6.0.exe
and the following errors were displayed.
The launcher has determined that the parent process has a console and will reuse it for its own console output.
Closing the console will result in termination of the running program.
Use ‘–console suppress’ to suppress console output.
Use ‘–console new’ to create a separate console window.
Configuring SNAP-Python interface…
java.io.IOException: SNAP-Python configuration incomplete.
Missing file ‘C:\Users\Such.snap\snap-python\snappy\jpyconfig.properties’.
Please check the log file ‘C:\Users\Such.snap\snap-python\snappy\snappyutil.log’.
at org.esa.snap.python.PyBridge.installPythonModule(PyBridge.java:152)
at org.esa.snap.rcp.cli.SnapArgsProcessor.processPython(SnapArgsProcessor.java:103)
at org.esa.snap.rcp.cli.SnapArgsProcessor.process(SnapArgsProcessor.java:49)
at org.netbeans.modules.sendopts.DefaultProcessor.process(DefaultProcessor.java:202)
at org.netbeans.spi.sendopts.Option$1.process(Option.java:387)
at org.netbeans.api.sendopts.CommandLine.process(CommandLine.java:317)
at org.netbeans.modules.sendopts.HandlerImpl.execute(HandlerImpl.java:62)
at org.netbeans.modules.sendopts.Handler.cli(Handler.java:69)
at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
at org.netbeans.core.startup.CLICoreBridge.cli(CLICoreBridge.java:82)
at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
at org.netbeans.CLIHandler$1.exec(CLIHandler.java:268)
at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:447)
at org.netbeans.MainImpl.finishInitialization(MainImpl.java:256)
at org.netbeans.Main.finishInitialization(Main.java:92)
at org.netbeans.core.startup.Main.start(Main.java:316)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:748)
Python configuration error: SNAP-Python configuration incomplete.
Missing file ‘C:\Users\Such.snap\snap-python\snappy\jpyconfig.properties’.
Please check the log file ‘C:\Users\Such.snap\snap-python\snappy\snappyutil.log’.
I have a windows 10 operating system with 8 GB RAM, with Anaconda 3.7 version installed on my computer. I installed snappy using conda command, but running the following command shows import error:
from snappy import ProductIO gives an error.
ImportError: cannot import name ‘ProductIO’ from ‘snappy’ (F:\Python\Anaconda_3.0\envs\gdal_env\lib\site-packages\snappy_init_.py)
After going through topics related to snappy in step forum, I reinstalled SNAP software with python 3.6 version.Then in the SNAP command line, I gave the following command-
**snappy-conf.bat F:\python3.6\python-3.6.0.exe
and the following errors were displayed.
The launcher has determined that the parent process has a console and will reuse it for its own console output.
Closing the console will result in termination of the running program.
Use ‘–console suppress’ to suppress console output.
Use ‘–console new’ to create a separate console window.
Configuring SNAP-Python interface…
java.io.IOException: SNAP-Python configuration incomplete.
Missing file ‘C:\Users\Such.snap\snap-python\snappy\jpyconfig.properties’.
Please check the log file ‘C:\Users\Such.snap\snap-python\snappy\snappyutil.log’.
at org.esa.snap.python.PyBridge.installPythonModule(PyBridge.java:152)
at org.esa.snap.rcp.cli.SnapArgsProcessor.processPython(SnapArgsProcessor.java:103)
at org.esa.snap.rcp.cli.SnapArgsProcessor.process(SnapArgsProcessor.java:49)
at org.netbeans.modules.sendopts.DefaultProcessor.process(DefaultProcessor.java:202)
at org.netbeans.spi.sendopts.Option$1.process(Option.java:387)
at org.netbeans.api.sendopts.CommandLine.process(CommandLine.java:317)
at org.netbeans.modules.sendopts.HandlerImpl.execute(HandlerImpl.java:62)
at org.netbeans.modules.sendopts.Handler.cli(Handler.java:69)
at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
at org.netbeans.core.startup.CLICoreBridge.cli(CLICoreBridge.java:82)
at org.netbeans.CLIHandler.notifyHandlers(CLIHandler.java:234)
at org.netbeans.CLIHandler$1.exec(CLIHandler.java:268)
at org.netbeans.CLIHandler.finishInitialization(CLIHandler.java:447)
at org.netbeans.MainImpl.finishInitialization(MainImpl.java:256)
at org.netbeans.Main.finishInitialization(Main.java:92)
at org.netbeans.core.startup.Main.start(Main.java:316)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:748)
Python configuration error: SNAP-Python configuration incomplete.
Missing file ‘C:\Users\Such.snap\snap-python\snappy\jpyconfig.properties’.
Please check the log file ‘C:\Users\Such.snap\snap-python\snappy\snappyutil.log’.