Try replacing the PYTHON_BIN in SNAP (manage external tools) with c:\Users\sara aparicio\AppData\Local\Continuum\Anaconda2\python.exe
instead of just python.exe
I suggest you go inside SNAP/ Tools/Manage External Tools the select sen2cor and click edit.
In the screen that would appear 2 items need your attention 1) Configuration Parameters and 2) System Variables.
I have attached sceenshots for what should be there (adapt to your computer). Please note that for $PYTHON_BIN you have to navigate (click …) to the python2.7 under your Anaconda2 directory.
If this doesn’t work I would advice to remove sen2cor and re-install it again.
@Ghanisen@ABraun
I changed to that, but strangely it seems that it doesn’t get updated.
I close and opened again the manager tool, and if I got to the value, it what I wrote, but not on the system variables display:
It is not on the System variables screen that you set the path to the python executable, it is in the Configuration Parameters screen as I showed in my previous comment.
The python executable, for me python2.7 is in the bin folder under the Anaconda2 directory. Please follow the indications in my previous comment.
One last thing; what operating system are you using?
In my case, there was no variable found as python_bin in the system environmental variables. so i tries to replace the path in sen2cor system variable–python_bin as the path of python.exe file which was in anaconda 2. Still i was unable to run one particular dataset, while the other datasets were processed.
I am getting this error. And always output is exiting with one…earlier i use to get output correctly but now i was unable to figure out this error…can anybody help me out please…
I suspect this is because of python path. My python path is this…
You can enable the option “Display execution output”. This might show some reason.
Also, you can look into the log file. You find it by selecting from the menu “Help / Show Log Directory”.