Open Alfaruuki opened 8 months ago
Hello, See the section "Using geone" on github:
"Do not launch python from the directory where the installation has been done (with pip), otherwise import geone will fail."
This should resolve your problem.
Sincerely, Julien
De : Alfaruuki @.> Envoyé : mercredi, 20 décembre 2023 10:07 À : randlab/geone @.> Cc : Subscribed @.***> Objet : [randlab/geone] Geone import error (Issue #14)
E-MAIL EXTERNE ¦ Attention aux liens et pièces jointes
Please help. I encoutered the following error when I called geone after installation. Thank you
ImportError Traceback (most recent call last) File ~.conda\envs\archpyenv\lib\site-packages\geone\deesse_core\deesse.py:14, in swig_import_helper() 13 try: ---> 14 return importlib.import_module(mname) 15 except ImportError:
File ~.conda\envs\archpyenv\lib\importlibinit.py:127, in import_module(name, package) 126 level += 1 --> 127 return _bootstrap._gcd_import(name[level:], package, level)
File :1014, in _gcd_import(name, package, level)
File :991, in find_and_load(name, import)
File :975, in find_and_load_unlocked(name, import)
File :657, in _load_unlocked(spec)
File :556, in module_from_spec(spec)
File :1166, in create_module(self, spec)
File :219, in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed while importing _deesse: The specified module could not be found.
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last) Cell In[10], line 6 4 import sys 5 import pyvista as pv ----> 6 import geone 7 import geone.covModel as gcm 8 import ArchPy
File ~.conda\envs\archpyenv\lib\site-packages\geoneinit.py:8 6 from . import covModel 7 from . import customcolors ----> 8 from . import deesseinterface 9 from . import geosclassicinterface 10 from . import grf
File ~.conda\envs\archpyenv\lib\site-packages\geone\deesseinterface.py:17 14 import multiprocessing 16 from geone import img, blockdata ---> 17 from geone.deesse_core import deesse 18 from geone.img import Img, PointSet 19 from geone.blockdata import BlockData
File ~.conda\envs\archpyenv\lib\site-packages\geone\deesse_core\deesse.py:17 15 except ImportError: 16 return importlib.import_module('_deesse') ---> 17 _deesse = swig_import_helper() 18 del swig_import_helper 19 elif _swig_python_version_info >= (2, 6, 0):
File ~.conda\envs\archpyenv\lib\site-packages\geone\deesse_core\deesse.py:16, in swig_import_helper() 14 return importlib.import_module(mname) 15 except ImportError: ---> 16 return importlib.import_module('_deesse')
File ~.conda\envs\archpyenv\lib\importlibinit.py:127, in import_module(name, package) 125 break 126 level += 1 --> 127 return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_deesse'
— Reply to this email directly, view it on GitHubhttps://github.com/randlab/geone/issues/14, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXIJJTHTF5L4X3PZ3ZS7NDYKKTGBAVCNFSM6AAAAABA4PEFBSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TAMJTHA4DSMI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Deasr Julien,
Thank you for your response. I' ve followed your recommendation but the error still persist. I think it has something to do with deesse. Please help....
Please help. I encoutered the following error when I called geone after installation. Thank you
ImportError Traceback (most recent call last) File ~.conda\envs\archpyenv\lib\site-packages\geone\deesse_core\deesse.py:14, in swig_import_helper() 13 try: ---> 14 return importlib.import_module(mname) 15 except ImportError:
File ~.conda\envs\archpyenv\lib\importlib__init__.py:127, in import_module(name, package) 126 level += 1 --> 127 return _bootstrap._gcd_import(name[level:], package, level)
File:1014, in _gcd_import(name, package, level)
File:991, in _find_andload(name, import)
File:975, in _find_and_loadunlocked(name, import)
File:657, in _load_unlocked(spec)
File:556, in module_from_spec(spec)
File:1166, in create_module(self, spec)
File:219, in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed while importing _deesse: The specified module could not be found.
During handling of the above exception, another exception occurred:
ModuleNotFoundError Traceback (most recent call last) Cell In[10], line 6 4 import sys 5 import pyvista as pv ----> 6 import geone 7 import geone.covModel as gcm 8 import ArchPy
File ~.conda\envs\archpyenv\lib\site-packages\geone__init__.py:8 6 from . import covModel 7 from . import customcolors ----> 8 from . import deesseinterface 9 from . import geosclassicinterface 10 from . import grf
File ~.conda\envs\archpyenv\lib\site-packages\geone\deesseinterface.py:17 14 import multiprocessing 16 from geone import img, blockdata ---> 17 from geone.deesse_core import deesse 18 from geone.img import Img, PointSet 19 from geone.blockdata import BlockData
File ~.conda\envs\archpyenv\lib\site-packages\geone\deesse_core\deesse.py:17 15 except ImportError: 16 return importlib.import_module('_deesse') ---> 17 _deesse = swig_import_helper() 18 del swig_import_helper 19 elif _swig_python_version_info >= (2, 6, 0):
File ~.conda\envs\archpyenv\lib\site-packages\geone\deesse_core\deesse.py:16, in swig_import_helper() 14 return importlib.import_module(mname) 15 except ImportError: ---> 16 return importlib.import_module('_deesse')
File ~.conda\envs\archpyenv\lib\importlib__init__.py:127, in import_module(name, package) 125 break 126 level += 1 --> 127 return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_deesse'