Comments (4)
If you already compiled opensees.so, you can put it on your python path and import opensees as ops directly.
from openseespy.
Hey zhuminjie, thank you for your quick response. But the issue is not closed so kindly open it again.
I added opensees.so to the python path but when I import opensees.so to my script as import openseespy.opensees it gives me the errors shown up.
If I put back the opensees.so I got from pip3 install openseespy then it works. Which is confusing as why the new opensees.so can't be imported the same way.
from openseespy.
I believe itβs because the current openseespymac is built on intel based mac os. Even if you replace the opensees.so, the dependencies shipped are still based on intel, which caused the errors. So I advised you to import opensees.so directly, which will link to dependencies on your machine.
We are working on the updates to the mac version to support arm64 based processors. Probably release in a couple months.
from openseespy.
Thank you so much for your help.
from openseespy.
Related Issues (20)
- OpenSeespy-3.4.0.8 not supported Python 3.11.3 and Anaconda3-2023.03-1-Windows-x86_64
- OpenSeesPy Reliability Analysis and Parameter problem. HOT 10
- module 'openseespy.opensees' has no attribute 'getEleClassTags'
- Error on ARM architecture Macs while importing HOT 4
- Updated Opensees not compatible with old script HOT 11
- limitCurve('Axial') not available
- limitCurve('ThreePoint') HOT 6
- Linux: opensees.so: cannot open shared object file: No such file or directory HOT 5
- recorder PVD for element stress and strain HOT 4
- RuntimeError: Failed to import openseespy on Windows HOT 2
- The MPCO recorder can't work in OpenSeespy HOT 1
- The same problem still exists in the Openseespymac version. Is it possible to solve the issue in macs? HOT 11
- libquadmath - missing dependency? HOT 2
- printModel command produces invalid json file when there's no elements in the model HOT 1
- openseespy.save command doesn't save uniaxial materials HOT 1
- Recorder command problem HOT 2
- "Remove" code snippet that prints IMKBilin material tags to console. HOT 1
- Need an explanation about plotting -> I must not use Matplotlib HOT 5
- Examples for Timber
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openseespy.