Closed potatohedron closed 7 months ago
ImportError: DLL load failed while importing _pyhelios: The specified procedure could not be found.
Using the conda environment from the latest Version 1.3.0 release and Python 3.8, when I run I-getting-started.ipynb, I get error:
ImportError Traceback (most recent call last) Cell In[1], line 8 6 helios_path = str(Path(current_folder).parent) 7 sys.path.append(helios_path) # add helios-plusplus directory to PATH ----> 8 import pyhelios 10 os.chdir(helios_path) 12 print(pyhelios.getVersion()) File ~\Documents\heliosplusplus\pyhelios__init__.py:1 ----> 1 from ._pyhelios_relay import * 3 from .output_handling import outputToNumpy 4 from .coordinates_utils import \ 5 cartesianToSpherical, sphericalToCartesian File ~\Documents\heliosplusplus\pyhelios_pyhelios_relay.py:9 7 # append run folder to sys path before import 8 sys.path.append(str(Path(file).parent.parent / "run")) ----> 9 from _pyhelios import * ImportError: DLL load failed while importing _pyhelios: The specified procedure could not be found.
ImportError Traceback (most recent call last) Cell In[1], line 8 6 helios_path = str(Path(current_folder).parent) 7 sys.path.append(helios_path) # add helios-plusplus directory to PATH ----> 8 import pyhelios 10 os.chdir(helios_path) 12 print(pyhelios.getVersion())
File ~\Documents\heliosplusplus\pyhelios__init__.py:1 ----> 1 from ._pyhelios_relay import * 3 from .output_handling import outputToNumpy 4 from .coordinates_utils import \ 5 cartesianToSpherical, sphericalToCartesian
File ~\Documents\heliosplusplus\pyhelios_pyhelios_relay.py:9 7 # append run folder to sys path before import 8 sys.path.append(str(Path(file).parent.parent / "run")) ----> 9 from _pyhelios import *
How can I fix it?
Using the conda environment from the latest Version 1.3.0 release and Python 3.8, when I run I-getting-started.ipynb, I get error:
How can I fix it?