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
ImportError: DLL load faild (windows only) #31
Comments
Mmmh... The package is built against This is from the appveyor build:
This is from my env:
But I cannot install |
This can be fixed by:
|
So this is caused by missing I will try to fix |
Hi @jakirkham, @tomkooij, it seems like pytables is broken on windows since 3.4.3_8 due to failed import of the blosc DLL. I encountered this issue in the latest FRETBursts recipe, but will likely affect many more packages. I temporary fixed the build by requiring pytables 3.3. Is there a better workaround? Would be possible to pin pytables from anaconda? |
After some debugging on my Windows machine it appears this is because of a missing dependency (DLL) for snappy. However, I am a bit confused. It looks like this package still distributes a For the time being the package can be made to work by installing However, I it seems the correct solution is to remove the internally generated |
A little more digging and you can find where the recipe is still building internal blosc sources: https://ci.appveyor.com/project/conda-forge/pytables-feedstock/branch/master/job/hq1p3clyqdb8towt#L589 I assume after #30 this is unintended? |
Yeah, this is probably unintended. |
Thanks @jetuk, the snappy trick worked for me: conda-forge/fretbursts-feedstock#16. |
Now, "conda install pytables -c conda-forge" can fix it perfectly. |
Shall we close this then? |
I am still getting this with pytables 3.4.4 build py35_8 from conda-forge. conda install snappy installed 1.1.7 build h6538335_1002 from conda forge and solves the problem. Seems to me the receipe needs to add snappy as a dependency. |
@kylekeppler this is because the Python 3.5 builds are no longer being built by the Travis CI machine. I'm not sure why. Both Python 3.6 and 3.7 are now being updated however. I've filed Issue #45 |
I have the same issue with pytables 3.5.2 in Python 2.7 -- (blosc version is 1.17.1) -- is there a way to fix? how do I know what blosc version I need? |
OK, pytables 3.5.1 (2.7) seems to work fine with blosc 1.17.1 but pytables 3.5.2 does not. Can someone advise? Should I open a new item for this?
|
It looks like |
ok thx. Which github repo to raise an issue? |
|
Anaconda keeps their recipes in this org ( https://github.com/AnacondaRecipes/ ). Would look for the feedstock in there and file an issue against it. |
I had the same problem and I solved it by searching for the location of pytables_hdf5.dll
|
The current packages (build 8), or at least the 64bit windows
3.4.3-py_36_8
package is broken.This is probably due to the recently merged #30
This switches from the internal blosc to external blosc (conda package) to prevent zlib import errors.
The text was updated successfully, but these errors were encountered: