Error: ModuleNotFoundError: No module named 'OpenGeoSys'

Dear OGS community,

I’m new to OGS but very excited to learn about its wealth and robustness of functionalities.

When running the basin example following the videos and using those files, I ran into the follow errors:

In Ubuntu 20.04:
error: ModuleNotFoundError: No module named ‘OpenGeoSys’

In Windows:
error: ModuleNotFoundError: No module named ‘numpy’

Is calling the python scripts as the boundary condition still working in the current 6.4.4 version?
I guess my python environment in Windows is NOT properly set up, which explains why I got error when the python script calls ‘numpy’. In Ubuntu, however, even calling ‘OpenGeoSys’ ran into error. Not sure how to resolve these errors. Your experience is much appreciated!

Thanks,
Roger

You need to download or compile OGS with python bindings.
For the binaries, see OpenGeoSys 6.4.4

1 Like