stgl/scarplet

Conda installation breaks libgdal reference

Closed this issue · 1 comments

Describe the bug
Conda-forge package breaks system GDAL installation.

Reported by @sjohnstone-usgs @johnsamstone

To Reproduce
conda install scarplet

Leads to missing reference when trying to link to Anaconda GDAL

referenced from: /anaconda3/lib/libgdal.20.dylib reason: image not found

Manually updating GDAL fixesthis , but breaks reference to libssh2.1.dylib.

Expected behavior
Install package via conda

Desktop (please complete the following information):

  • OS: Mac OS X?
  • Python 3.7?

I can't reproduce this in a fresh virtual environment so this is likely a GDAL packaging issue.

Installation instructions have been updated to use a virtual env.

conda create -n scarplet_env
conda activate scarplet_env
conda install scarplet -c conda-forge