You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed gempy on my device, and I tried one of the scripts available in the gempy documentation link and I got an issue.
'# Import necessary libraries
import time
import numpy as np
import os
from dotenv import dotenv_values
from vector_geology.omf_to_gempy import process_file
import gempy as gp
import gempy_viewer as gpv
from vector_geology.model_building_functions import optimize_nuggets_for_group
from gempy_engine.core.data.kernel_classes.kernel_functions import AvailableKernelFunctions
'# Start timer to track execution time
start_time = time.time()`
ModuleNotFoundError Traceback (most recent call last)
Cell In[4], line 6
4 import os
5 from dotenv import dotenv_values
----> 6 from vector_geology.omf_to_gempy import process_file
7 import gempy as gp
8 import gempy_viewer as gpv
ModuleNotFoundError: No module named 'vector_geology'
Thanks in advance!
Bests,
kafa
Appreciate any help!
The text was updated successfully, but these errors were encountered:
Hello @kafahabibullah1453,
thanks for your question. As far as I can see the import that is causing the error is not actually part of gempy, but instead part the the vector project (https://github.com/vector-raw-materials/vector-geology).
Even though it does use gempy and seems to include a function to optimize nugget values specifically for gempy models it would be best if you create an issue on the vector github page.
Feel free to link the issue here so we can follow the development.
I have installed gempy on my device, and I tried one of the scripts available in the gempy documentation link and I got an issue.
'# Import necessary libraries
import time
import numpy as np
import os
from dotenv import dotenv_values
from vector_geology.omf_to_gempy import process_file
import gempy as gp
import gempy_viewer as gpv
from vector_geology.model_building_functions import optimize_nuggets_for_group
from gempy_engine.core.data.kernel_classes.kernel_functions import AvailableKernelFunctions
'# Start timer to track execution time
start_time = time.time()`
ModuleNotFoundError Traceback (most recent call last)
Cell In[4], line 6
4 import os
5 from dotenv import dotenv_values
----> 6 from vector_geology.omf_to_gempy import process_file
7 import gempy as gp
8 import gempy_viewer as gpv
ModuleNotFoundError: No module named 'vector_geology'
Thanks in advance!
Bests,
kafa
Appreciate any help!
The text was updated successfully, but these errors were encountered: