Hey everyone I’m unfortunately having problems installing snappy. Due to Corona i have an access to a computer pool at my university which has a Linux system.
My python version is in the environment ‚milena_2‘: 3.6.12
Location of snappy-conf: /home/milena/esa/bin
Assumed location of python.exe found with ‚which python‘: /home/milena/.conda/envs/milena_2/bin/python/
My steps:
- Enter the computer pool
- Activate the conda environment with python version 3.6.12
- Go to location of snappy-conf file: cd /home/milena/esa/bin
- ./snappy-conf /home/milena/.conda/envs/milena_2/bin/python/
Here is the source code:
(milena_2) milena@pcpool4:~/esa/bin$ ./snappy-conf /home/milena/.conda/envs/milena_2/bin/python/
/home/milena/esa/bin/…/platform/lib/nbexec: WARNING: environment variable DISPLAY is not set
Configuring SNAP-Python interface…
java.io.IOException: Python configuration failed.
Command [/home/milena/.conda/envs/milena_2/bin/python ./snappyutil.py --snap_home /home/milena/esa --java_module /home/milena/esa/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --java_home /home/milena/esa/jre --req_arch amd64]
failed with return code 10.
Please check the log file ‘/home/milena/.snap/snap-python/snappy/snappyutil.log’.
at org.esa.snap.python.PyBridge.configureJpy(PyBridge.java:223)
at org.esa.snap.python.PyBridge.installPythonModule(PyBridge.java:147)
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:745)
Python configuration error: Python configuration failed.
Command [/home/milena/.conda/envs/milena_2/bin/python ./snappyutil.py --snap_home /home/milena/esa --java_module /home/milena/esa/snap/modules/org-esa-snap-snap-python.jar --force --log_file ./snappyutil.log --java_home /home/milena/esa/jre --req_arch amd64]
failed with return code 10.
Please check the log file ‘/home/milena/.snap/snap-python/snappy/snappyutil.log’.
Can anyone help me out? Thanks a lot in advance!