Replies: 3 comments 2 replies
-
Hey @lewfish, the recent (I'm not sure when this started) |
Beta Was this translation helpful? Give feedback.
-
The link you shared above is only for installing from source. As long as you're installing from a pre-built binary (wheel), GDAL is already included in the binary, as @calebrob6 mentioned. I think this is the case since rasterio 0.17, at least for macOS. Conda and Spack instead install from source, so GDAL is needed as a formal dependency and built before building rasterio. |
Beta Was this translation helpful? Give feedback.
-
Thank you. You are right that GDAL is included in the wheels. I was confused because I am testing this on an ARM64 platform, and |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm trying to understand how
torchgeo
handles dependencies and CI. My motivation is that I'm trying to upgrade Raster Vision's dependencies and Docker image, and want to see how other projects do this, and we use a similar set of dependencies. It all makes sense to me except for one thing. The tests workflow uses a vanilla Ubuntu image and thenpip
installs all oftorchgeo
's dependencies which includesrasterio
. Rasterio has GDAL as a native dependency which needs to be installed manually on Linux. (I've verified that the Rasterio documentation here is correct.) However, it appears that GDAL is not installed within the test workflow, which means thatrasterio
should raise an error when it is imported. But that does not seem to be happening, so what am I missing?Beta Was this translation helpful? Give feedback.
All reactions