-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
I am experiencing an issue trying to install OpenSeesPy on my Raspberry Pi running a 64-bit OS (ARM64 architecture). I followed the instructions from the repository but encountered problems during the installation process.
Here are the steps I followed:
I installed the library as reported on :
python3 -m pip install openseespy
After installation, I tried importing the library in my Python script as follows:
import openseespy.opensees as ops
However, I encountered the following error:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
File ~/SHM-giovanni/venv/lib/python3.9/site-packages/openseespylinux/__init__.py:12
11 try:
---> 12 from openseespylinux.opensees import *
13 except:
ImportError: /home/pi52/SHM-giovanni/venv/lib/python3.9/site-packages/openseespylinux/opensees.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
RuntimeError Traceback (most recent call last)
File ~/SHM-giovanni/venv/lib/python3.9/site-packages/openseespy/opensees/__init__.py:11
10 try:
---> 11 from openseespylinux.opensees import *
13 except:
File ~/SHM-giovanni/venv/lib/python3.9/site-packages/openseespylinux/__init__.py:14
13 except:
---> 14 raise RuntimeError('Failed to import openseespy on Linux.')
16 else:
RuntimeError: Failed to import openseespy on Linux.
During handling of the above exception, another exception occurred:
RuntimeError Traceback (most recent call last)
File /home/pi52/SHM-giovanni/MDOF.py:2
1 #%% Model
----> 2 import openseespy.opensees as ops
3 ops.wipe()
4 ops.model('basic', '-ndm', 3, '-ndf', 6)
File ~/SHM-giovanni/venv/lib/python3.9/site-packages/openseespy/opensees/__init__.py:14
11 from openseespylinux.opensees import *
13 except:
---> 14 raise RuntimeError('Failed to import openseespy on Linux.')
16 elif sys.platform.startswith('win'):
18 try:
RuntimeError: Failed to import openseespy on Linux.
What I’ve Tried:
-
Reinstalling openseespy and openseespylinux.
-
Ensuring the correct dependencies are installed.
-
Verifying the system’s LD_LIBRARY_PATH for missing library references.
Could anyone assist with resolving this issue?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels