User Forum of Software BASEMENT

BASEMENT
Basic Simulation Environment for computation of environmental flow and natural hazard simulation
Laboratory of Hydraulics, Hydrology and Glaciology (VAW)
ETH Zurich
Basement_Logo

You are not logged in.

#1 2024-05-11 01:39:41

Stefano
User
Registered: 2024-05-08
Posts: 12

Python script

Hello everyone,

kindly, could someone explain me the meaning of this statement:

PS d:\directory\python BMv4NodestringResults.py
Traceback (most recent call last):
   File "d:\directory\python BMv4NodestringResults.py", line 2, in <module>
     import h5py
ModuleNotFoundError: No module named 'h5py'

I save python script (release 4) in the scenario folder, together with al json and results.h5 files.
Many thanks to everyone could help me.

Stefano

Offline

#2 2024-05-11 11:03:01

NumericalSam
User
From: Switzerland
Registered: 2022-04-01
Posts: 14

Re: Python script

Hey Stefano

looks like the python package h5py is not available on your system.
Try (re)installing it with something like

 pip install h5py 

The correct command depends on your system and python environment, please check out https://docs.h5py.org/en/stable/build.html#install to find the correct one.

Does this solve your problem?

Offline

Board footer

Powered by FluxBB