Incompatible library version after running L2A_Process --help

hi trying to execute L2A_Process --help this is the output :slight_smile:

ImportError: dlopen(//anaconda/lib/python2.7/site-packages/osgeo/_gdal.so, 2): Library not loaded: @rpath/./liblzma.5.dylib
Referenced from: /anaconda/lib/libgdal.20.dylib
Reason: Incompatible library version: libgdal.20.dylib requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0

I already tried to update gdal but is up to date
I did search for the liblzma.5.dylib or the libgdal.20.dylib libraries but nothing happened.

Im on mac trying to run from command line

thanks in advance for your help

It’s a (new occurring) dependency problem from libgdal wich is described here:

The solution which is described there worked for me as well:
execute: conda update xz from the command line.
Seems like libgdal should have a version dependency on xz.

after following this procedure L2A_Process runs again:

Referenced from: /Users/XXX/anaconda/lib/libgdal.20.dylib
Reason: Incompatible library version: libgdal.20.dylib requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0

GVA0323:~ umwilm$ conda update xz
Fetching package metadata …
Solving package specifications: …

Package plan for installation in environment /Users/umwilm/anaconda:

The following packages will be downloaded:

package                    |            build
---------------------------|-----------------
xz-5.2.2                   |                0         186 KB
libtiff-4.0.6              |                2         738 KB
------------------------------------------------------------
                                       Total:         924 KB

The following packages will be UPDATED:

libtiff: 4.0.6-1 --> 4.0.6-2
xz:      5.0.5-1 --> 5.2.2-0

Proceed ([y]/n)? y

Fetching packages …
xz-5.2.2-0.tar 100% |########################################################################| Time: 0:00:00 488.07 kB/s
libtiff-4.0.6- 100% |########################################################################| Time: 0:00:00 1.01 MB/s
Extracting packages …
[ COMPLETE ]|###########################################################################################| 100%
Unlinking packages …
[ COMPLETE ]|###########################################################################################| 100%
Linking packages …
[ COMPLETE ]|###########################################################################################| 100%

GVA0323:~ umwilm$ L2A_Process -h
usage: L2A_Process [-h] [–resolution {10,20,60}] [–sc_only] [–cr_only]
[–refresh] [–GIP_L2A GIP_L2A] [–GIP_L2A_SC GIP_L2A_SC]
[–GIP_L2A_AC GIP_L2A_AC]
directory

Sentinel-2 Level 2A Prototype Processor (Sen2Cor). Version: 2.2.1, created:
2016.04.29, supporting Level-1C product version: 13.1.

positional arguments:
directory Directory where the Level-1C input files are located

optional arguments:
-h, --help show this help message and exit
–resolution {10,20,60}
Target resolution, can be 10, 20 or 60m. If omitted,
all resolutions will be processed
–sc_only Performs only the scene classification at 60 or 20m
resolution
–cr_only Performs only the creation of the L2A product tree, no
processing
–refresh Performs a refresh of the persistent configuration
before start
–GIP_L2A GIP_L2A Select the user GIPP
–GIP_L2A_SC GIP_L2A_SC
Select the scene classification GIPP
–GIP_L2A_AC GIP_L2A_AC
Select the atmospheric correction GIPP

Why the sen2cor works in 1 second and does not produce a result data?

please follow the description here:

why sen2cor could not work? I have to integrate sen2cor with SNAP when I open SNAP every time.

can you please show us the directory where the data is located?