DassHydro / smash

An open source, Python library interfacing the Fortran Spatially distributed Modelling and ASsimilation for Hydrology platform.
https://smash.recover.inrae.fr/
GNU General Public License v3.0
12 stars 6 forks source link

Compilation #236

Closed asjeb closed 3 months ago

asjeb commented 3 months ago

After fetch and pull main with update env. make edit ok but not make :

import smash Traceback (most recent call last): File "", line 1, in File "/home/aelbaz/Bureau/smash-main/smash/init.py", line 1, in from smash import factory, io File "/home/aelbaz/Bureau/smash-main/smash/factory/init.py", line 1, in from smash.factory.dataset.dataset import load_dataset File "/home/aelbaz/Bureau/smash-main/smash/factory/dataset/dataset.py", line 6, in from smash.io.mesh import read_mesh File "/home/aelbaz/Bureau/smash-main/smash/io/init.py", line 1, in from smash.io.mesh import read_mesh, save_mesh File "/home/aelbaz/Bureau/smash-main/smash/io/mesh.py", line 10, in from smash.io.handler._hdf5_handler import _dump_dict, _load_hdf5_to_dict File "/home/aelbaz/Bureau/smash-main/smash/io/handler/_hdf5_handler.py", line 9, in from smash.fcore._mwd_sparse_matrix import Sparse_MatrixDT ModuleNotFoundError: No module named 'smash.fcore._mwd_sparse_matrix'

nghi-truyen commented 3 months ago

On a vu ça avec François, il faudrait juste que tu lance ton script ou ton console Python dans un autre répertoire qui contient pas un dossier qui s'appelle smash.

asjeb commented 3 months ago

Sinon link vers la version du git