After installation of ananconda and the sen2cor 2.2.1 toolbox I tried running the L2A_process.
I succeeded in running it to obtain the syntax (L2A_Process --help) as well as only building the user product tree (L2A_Process --cr_only)
However, when finally starting processing with L2A_Process I received the following:
ImportError: No module named l2a_process-script Traceback (most recent call last): File "<string>", line 1, in <module> File "C:\anaconda\lib\multiprocessing\forking.py", line 380, in main prepare(preparation_data) File "C:\anaconda\lib\multiprocessing\forking.py", line 503, in prepare file, path_name, etc = imp.find_module(main_name, dirs)
I confirmed that a file named L2A_Process-script.py was installed in the anaconda\Scripts folder.
Note that this file has differing capitalization than the module being imported.
The solution for me:
I decided to rename the file to all small caps: l2a_process-script.py.
After that sen2cor did run succesfully.
Willem