OpenSeesPy
OpenSeesPy copied to clipboard
Linux: opensees.so: cannot open shared object file: No such file or directory
I tried to use openseespy in ubuntu via an anaconda environment with python version of 3.10. The openseespy was installed by
pip install openseespy
and there is openness.so
in theopenseespylinux
folder.
However, when I import openseespy.opensees, an error message appeared:
>>> import openseespy.opensees as op
Traceback (most recent call last):
File "/home/[user]/anaconda3/envs/py310/lib/python3.10/site-packages/openseespylinux/__init__.py", line 12, in <module>
from openseespylinux.opensees import *
ImportError: /home/[user]/anaconda3/envs/py310/lib/python3.10/site-packages/openseespylinux/opensees.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/[user]/anaconda3/envs/py310/lib/python3.10/site-packages/openseespy/opensees/__init__.py", line 11, in <module>
from openseespylinux.opensees import *
File "/home/[user]/anaconda3/envs/py310/lib/python3.10/site-packages/openseespylinux/__init__.py", line 14, in <module>
raise RuntimeError('Failed to import openseespy on Linux.')
RuntimeError: Failed to import openseespy on Linux.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/[user]/anaconda3/envs/py310/lib/python3.10/site-packages/openseespy/opensees/__init__.py", line 14, in <module>
raise RuntimeError('Failed to import openseespy on Linux.')
RuntimeError: Failed to import openseespy on Linux.
>>>
I used print(os.path.isfile(/home/[user]/anaconda3/envs/py310/lib/python3.10/site-packages/openseespylinux/opensees.so))
and the return was true
. The installed openseespy version is 3.5.1.3. How to resolve this problem?
Below is the screenshot.
upgrade to 3.11
upgrade to 3.11
Same results. Still not working.
Does it work now? We have published newer version.
Hi everyone and thank you very much for this library. It is running without any problem for me, but I would like to know if are you going to do a new release soon? I would like to be able to use save and restore for ShellDKT elements (it was added some weeks ago to the OpenSees repo).
Thank you very much in advance!
Does it work now? We have published newer version.
It's python 3.12 now, but the same results.