Error when i installed sen2cor on mac

I have installed sen2cor on my mac without any error message , however when i run L2A_Process --help following messages coming :

Traceback (most recent call last):
  File "/usr/local/bin/L2A_Process", line 9, in <module>
load_entry_point('sen2cor==2.3.0', 'console_scripts', 'L2A_Process')()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 542, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2569, in load_entry_point
return ep.load()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2229, in load
return self.resolve()
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2235, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/lib/python2.7/site-packages/sen2cor-2.3.0-py2.7.egg/sen2cor/L2A_Process.py", line 7, in <module>
from tables import *
ImportError: No module named tables

How can it be fixed ?

can you please enter pip list in your command line and see if tables is listed?
If not you can use pip install pytables

1 Like

Thank you for your help. It fixed the problem