This is an option worth looking into since you are using conda: https://github.com/conda-forge/staged-recipes
On Mon, Mar 31, 2025, 7:33 PM Adriano Matos via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Hello, > > I've been writing a Python package that uses GDAL as a dependency. I plan > to make this package available to install via Anaconda at least. Having a > pip package would be nice, but I keep getting GDAL errors whenever I try to > compile a pip package. I think it has something to do with the > system-dependent compilers that GDAL uses. I was able to successfully > create an Anaconda package, but as of now it is only available to install > via Windows. I wanted to make this package system-agnostic, but it > defaulted to my system's OS of Windows when I created the package due to > the use of GDAL as a dependency. I was considering creating an Anaconda > package in a Linux environment (maybe using a virtual machine) and then a > Mac environment so that I can have this package available on all operating > systems. I was curious to see if anyone knows more about this topic. Am I > approaching this problem the right way? Thank you! > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev >
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev