I want to use two different GDAL versions on my Ubuntu 16.04. I installed GDAL via the UbuntuGIS ppa and via anaconda. My GDAL for python works fine, but when I want to use gdal_translate via the shell to convert a .jp2 to .tif the following error occurs:
ERROR 4: `/media/lastro/.../L2A_T32ULB_20170430T103021_AOT_10m.jp2' not recognized as a supported file format
When I remove anaconda and have only gdal from the ubuntuGIS ppa installed then it works, but when I then install anaconda with the gdal binding the same error occurs.
Does someone know a workaround for this problem?