-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Issue reading szip compressed datasets with anaconda install vs pip install #63
Comments
Please copy over the example and include the details about your system asked for in the issue template. |
The issue now confirmed on Windows 10 and MacOS Mojave using Python 3.7.x and h5py 2.9.0 Example belowUse this sample file https://support.hdfgroup.org/ftp/HDF5/examples/files/exbyapi/h5ex_d_szip.h5
|
Issue: Environment ( conda list ):
Details about conda and system ( conda info ):
|
Install via pip on macos was failing but I was able to pip install the same version 2.9.0
|
This looks like you are installing the packages from the main anaconda channel, not conda-forge, this should go to https://github.com/ContinuumIO/anaconda-issues/issues/ Do you have HDF5_PLUGIN_PATH set? |
Ok. So i created new environment with conda-forge install for h5py. Still getting the same error
Conda Info
|
No, I don't have HDF5_PLUGIN_PATH set. |
Hello, I had the same error with anaconda3 on Linux (Ubuntu 20.04), I tried installed h5py from conda-forge channel and the error was same. Finally, I did a h5py environment with h5py==2.9 then I could read the dataset with the szip compression. Thanks! |
BTW, I'm pretty sure we don't build hdf5 against szip due to license issues. This probably won't work and it is not a bug, just unsupported. |
I believe this can be closed due to adoption of libaec. |
Were there any changes that needed to happen on the |
Hmm. I see that MSYS2 has enabled libaec support on Windows, so is this a Visual Studio based issue? |
Maybe it was even me who patched it there: |
Upstream fix via cmake fetchcontent: Perhaps we should wait for a patch release from upstream? |
For clarity there is already a If someone has a Windows machine and can try things out/suggest a fix, that would help us close out that issue. Applying an upstream patch to fix the issue would also be reasonable if we have a known fix. |
I do not think there actually anything to do on this feedstock. It works fine on non-Windows systems. The issue is with the hdf5-feedstock, so I created a new issue there: |
Issue:
conda install h5py and reading a h5 file with szip compression causes error above. No issues reading tables in same file with no compression.
h5py/h5py#1293
The text was updated successfully, but these errors were encountered: