related to oq-mbtk and hmtk...

20 views
Skip to first unread message

Marinela Gjestila

unread,
Feb 12, 2026, 5:19:49 AM (10 days ago) Feb 12
to OpenQuake Users
Hi,
I'm a very new user of OpenQuake and am trying to understand...

I'm trying to install oq-mbtk on Windows 11, and somehow I manage.... but when I try to work on Jupyter Lab notebook, and I try to use the line: 
from openquake.smt.parsers.esm23_flatfile_parsers import ESM23FlatfileParser

I receive the following error: No module named 'openquake.smt...'. How can this error be resolved? What do I do wrong?

Regarding HMTK, can it function as a standalone toolkit, or do I need to use it within OpenQuake?

Thank you very much.

Peter Pažák

unread,
Feb 20, 2026, 5:46:18 PM (2 days ago) Feb 20
to OpenQuake Users
Hi,

I have installed OQ v3.24.1 via the exe installer into c:\Users\peter\AppData\Local\Programs\OpenQuake Engine dir.
Then via pip jupyter: pip install jupyter

Downloaded oq-mbtk-master.zip from https://github.com/GEMScienceTools/oq-mbtk and unpacked oq-mbtk-master.zip\oq-mbtk-master\openquake\* into the
c:\Users\peter\AppData\Local\Programs\OpenQuake Engine\python3\Lib\site-packages\openquake\

I also add the paths to environment path variable:
c:\Users\peter\AppData\Local\Programs\OpenQuake Engine\python3\;c:\Users\peter\AppData\Local\Programs\OpenQuake Engine\python3\Scripts\;C:\Users\peter\AppData\Local\Programs\OpenQuake Engine\GMT\bin

So whenever I open cmd window, I can use python and also oq or simply type "jupyter notebook" and it starts jupyter environment (for me in firefox).

After starting jupyter notebook, I can put do
from openquake.smt.residuals.parsers.esm_flatfile_parser import ESMFlatfileParser

Maybe you just need to correct the import line? (probably it was renamed/relocated within the model building toolkit codebase?)

Peter

Dátum: štvrtok 12. februára 2026, čas: 11:19:49 UTC+1, odosielateľ: marinela...@gmail.com
Reply all
Reply to author
Forward
0 new messages