← Back to team overview

yade-users team mailing list archive

Re: [Question #683753]: save data in hdf5 file

 

Question #683753 on Yade changed:
https://answers.launchpad.net/yade/+question/683753

    Status: Open => Answered

Jan Stránský proposed the following answer:
> If i try those commands in the terminal, there is no any output.......

it means everything is ok and h5py is available for both python 2 and 3.
For some reason, the installation with miniconda (don't know it) is not visible for Yade. You can try:

a) point python to the actual installation in your script:
import sys
sys.path.append("/path/where/h5py/was/installed")
import h5py

b) use pip
pip install h5py --user
(or without --user, then you would need sudo)

c) use apt
sudo apt install python-h5py

cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.