I try to run an example of the openseespy. I have installed openseespy. I use python 3.8.5
I got the following error:
from openseespy.opensees.win.py38.opensees import *
ImportError: DLL load failed while importing opensees: The specified module could not be found.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Example4a.py", line 25, in <module>
import openseespy.opensees as op
File "C:\Users\meach\AppData\Roaming\Python\Python38\site-packages\openseespy\opensees\__init__.py", line 39, in <module>
raise RuntimeError(
RuntimeError: Failed to import openseespy on Windows for Python 3.8
DLL load failed while importing opensees
Moderators: silvia, selimgunay, Moderators
Re: DLL load failed while importing opensees
Have you upgraded openseespy to 3.2.2.3? If you're using 3.2.2.1, it will not work with Python 3.8.
Re: DLL load failed while importing opensees
Yes, I updated openseespy.
Note: I use Notepad++ for running pyhthon code
Note: I use Notepad++ for running pyhthon code
Re: DLL load failed while importing opensees
Do you get the same error if you import openseespy from an Anaconda environment instead of Notepad++?