when I want to run sen2cor i face with this error:
the error text is:
C:\Program Files\Anaconda2\python.exe: can’t open file ‘C:\Users\KOWSAR\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor/L2A_Process.py’: [Errno 2] No such file or directory
Process exited with value 2
Finished tool execution in 1 seconds
Hi,
It seems that you have installed Anaconda twice ( in different paths) and I think your system variables are not well configured. Could you try to set PYTHON_BIN and SEN2COR_BIN pointing to the same Anaconda installation folder?
This is:
PYTHON_BIN = C:\Program Files\Anaconda2\python.exe and SEN2COR_BIN = C:\Program Files\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor
or
PYTHON_BIN = C:\Users\KOWSAR\Anaconda2\python.exe and SEN2COR_BIN = C:\Users\KOWSAR\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor
Please, verify previously that the paths exist in your disk.
about those paths (I found both of python.exe and sen2cor according to your mentioned text) I can’t understand your mean… you mean I have to copy sen2cor folder and paste it in Anaconda2 folder?
Thanks a lot. I checked and saw may sen2cor is installed correctly, but after setting variables doesn’t work still so according to your suggestion I will uninstall and install all… Thanks again for your attention
dear Obarrilero, I reinstalled them all but I am still experiencing the same problem… after I installed Anaconda I checked it and there is no error as well as sen2cor installation, when I checked “L2A_Process --Help” also there wasn’t any errors. where is the problem?! I am confused
actually I input “C:\Program Files\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor” but after I click and select it return to the first path: “C:\Users\KOWSAR\Anaconda2\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor”… how can I change it?