gempy-project / gempy

GemPy is an open-source, Python-based 3-D structural geological modeling software, which allows the implicit (i.e. automatic) creation of complex geological models from interface and orientation data. It also offers support for stochastic modeling to address parameter and model uncertainties.
https://gempy.org
European Union Public License 1.2
941 stars 232 forks source link

AttributeError: module 'gempy' has no attribute 'create_model' #892

Closed nqqcuong closed 2 months ago

nqqcuong commented 2 months ago

What is your question? I try to running examples but then I got error AttributeError: module 'gempy' has no attribute 'create_model'

Conda Jupyter Notebook 7.0.8 Python 3.11.9

javoha commented 2 months ago

Hi, can you specify which examples you were trying to run. And are you working with the most recent version of gempy (v3)?

If you take a look at the current documentation, create_model does not exist anymore in v3. I recommend runnig a small example like this to see if the new version is running and to get used to the API changes.

Cheers Jan

javoha commented 2 months ago

Hopefully resolved with comment above. Please feel free to reopen if the issue persists.