This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

h5py missing module, update python?

+1 vote

I have just installed fenics on Windows 7 with docker and I ran a demo programme successfully. However, when running another program that requires h5py I get the error message that I miss that module. I checked the version of python fenics runs and that is 2.7, does it have to be 3.6 in order to work? And if so, how do I update python inside docker or fenics? Or should I have h5py already installed when I first installed fenics?

Thanks in advance

asked Apr 9, 2017 by polarbroed FEniCS Novice (130 points)

1 Answer

+2 votes

You can easily install h5py in the Docker container:

sudo apt-get update
sudo apt-get install python-h5py 
answered Apr 10, 2017 by johannr FEniCS Expert (17,350 points)
...