Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetCDF4 and Rasterio conflict: HDF error when trying to write Dataset #1

Open
jlarsen-usgs opened this issue May 21, 2019 · 0 comments

Comments

@jlarsen-usgs
Copy link
Contributor

jlarsen-usgs commented May 21, 2019

The rasterio wheels on PyPI include HDF5 and netCDF4 shared libraries and they can create conflicts with the netCDF4 wheel.

The proposed workaround is to install rasterio from the source distribution instead of from binary wheel.

pip install netcdf4
pip install --no-binary rasterio rasterio

This method works on all tested sytems (ubuntu, macos, and windows) to avoid binary library conflicts.

@jlarsen-usgs jlarsen-usgs added the Dependency Conflict with library dependencies label May 21, 2019
@jlarsen-usgs jlarsen-usgs removed the Dependency Conflict with library dependencies label Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant