-
-
Notifications
You must be signed in to change notification settings - Fork 268
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
Successfull developper install, but can't import (related to HDF5 library) #1002
Comments
IMHO you should just ensure to set the LD_LIBRARY_PATH properly, on top of what you already did. |
Hi avalentino, To add what?
If this was necessary, this wasn't part of the documentation of the package (or I haven't found it). I know this is common knowledge for most C developpers, but for Python developers like me, this is the hard part). |
The |
Sorry @ccossou I replied a little bit to quickly while I was doing other stuff. Unlike the paths that you set at build time, that are used only to compile the Cython extensions, the information about where the linked libraries are located is not preserved (by default). Finally pease note that you need to have care of using at runtime the same version of the shared libraries (or binary compatible ones) that you used at build time. Otherwise you could have weir errors. [1] https://www.pytables.org/usersguide/installation.html#prerequisites |
Thanks for you reply, both of you. From your link, @avalentino , which I read, it says that you can set up the path to hdf5 by using the environment variable So either |
Not sure to follow. |
Ohhh, I understand better the second time :P |
Hi,
I wanted to contribute to pytables and try and develop a more meaningfull error message when an HDF5 file is already open somewhere else with writing allowed.
To that end, I've retrieved the github repository and I'm trying to install it in developper mode to start to create my branch. I'm on Ubuntu 20.04 LTS and installing the package libhdf5-serial-dev install HDF5 v1.10.4 which is too old for pytables.
/local/home/ccossou/Téléchargements/CMake-hdf5-1.10.9/HDF5-1.10.9-Linux/HDF_Group/HDF5/1.10.9/lib/pkgconfig
export HDF5_DIR=/local/home/ccossou/Téléchargements/CMake-hdf5-1.10.9/HDF5-1.10.9-Linux/HDF_Group/HDF5/1.10.9
(I also tried previously to use the pkg_config directory mentionned above directlyexport USE_PKGCONFIG=False
This file exist here:
I wouldn't be surprised if I was doing something (or multiple) wrong, but I think the installation should have failed somewhere when I turned of PKG_CONFIG and apparently, pytables couldn't find hdf5 at all.
PS: Couldn't find a better title, but feel free to change it for a more meaningfull one if this one is confusing.
The text was updated successfully, but these errors were encountered: