Cannot read JPEG2000 anymore after installing SNAP

Hello all,

I recently installed SNAP in my Ubuntu 16.04 machine, configure the Anaconda-SNAP interface, however now I cannot use properly my GDAL from terminal for reading the .jp2 files, when trying to work with these files I get the following warnings, which result to errors when running any process:

$ gdalinfo --version

Warning 1: Unable to find driver JP2OpenJPEG to unload from GDAL_SKIP environment variable.
Warning 1: Unable to find driver JPEG2000 to unload from GDAL_SKIP environment variable.
GDAL 2.1.0, released 2016/04/25

I tried to upgrade the gdal version with the following command but no installation takes place:

$ conda install -c conda-forge gdal=2.1.3
Fetching package metadata …
Solving package specifications: .

UnsatisfiableError: The following specifications were found to be in conflict:

  • gdal 2.1.3* -> libspatialite -> proj4 4.9.3
  • geotiff -> proj4 4.9.2
    Use "conda info " to see the dependencies for each package.

Any advice on how to solve this problem occured after the Anaconda installation?

Please see the following answer which is also related to your problem:

1 Like