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
988 stars 235 forks source link

Gempy module not Found #919

Closed kawaalina closed 4 months ago

kawaalina commented 4 months ago

Hello, I downloaded Gempy using the Anaconda terminal and typed the following command.

import gempy

He gave the following

ModuleNotFoundError: No module named 'gempy'

Although the download process was successful and all packages were downloaded using "pip", I tried it on Jupyter and it did not work either! What is the reason for this? i use wendows Windows System.

javoha commented 4 months ago

Hi, so I assume you followed the installation guide and used pip install gempy? And when trying to run it in the same environment it wasnt able to find gempy? Can you check the installation using conda list in your environment? Do you have general experience with Python, environments and how to handle installation? Cheers Jan

kawaalina commented 4 months ago

yes, it's on conda list! gempy 2.3.2 pypi_0 pypi

javoha commented 4 months ago

Hi, the current version is 2024.2.0.2. To really make sure you have everything I suggest the following: Make sure you conda, python and pip are up-to-date.

Then create a new virt env using: conda create -n gempy_test python=3.12 anaconda

Activate the environment: conda activate gempy_test

Install the version of gempy with optionalö dependencies: pip install gempy[opt]

Then check again with conda list. This should give you the most recent gempy version in a fresh environment.

kawaalina commented 4 months ago

it's work! Thanx so much <3

javoha commented 4 months ago

Great, have fun geomodeling!