Sen2cor MAC Problem

Hi guys! Anyone can help me?

I have a problem when running sen2cor in SNAP.

This appears when running sen2cor.

/usr/bin/python: can’t open file ‘C:\Anaconda\Lib\site-packages\sen2cor-2.2.1-py2.7.egg/sen2cor/’: [Errno 2] No such file or directory
Process exited with value 2
Finished tool execution in 1 seconds

Any suggestions?

Thanks a lot


if it is working properly via command line and it is failing when running in SNAP, the cause is probably a wrong system variable. Check please if PYTHON_BIN and SEN2COR_BIN are right. For example, in my windows PC, they are:

Thanks obarrilero,

but, how can i check that?
when? after installation?
where? command (terminal in MAC) line? snap? Cause in snap i have no choice to use sen2cor preferences, I just can click in “run”

Thanks a lot


I would check it via command line, but it is also possible in SNAP: Tools->Manage External Tools->Sen2Cor->Edit->System Variables

Ok I think that problem is corrected.

Now this happen when running:

Traceback (most recent call last):
File “/Users/Andres/anaconda/lib/python2.7/site-packages/sen2cor-2.3.1-py2.7.egg/sen2cor/”, line 7, in
from tables import *
ImportError: No module named tables
Process exited with value 1
Finished tool execution in 0 seconds

Please, see:

I solved it


It was the path of the python_bin