sewkokot / opsvis

OpenSeesPy postprocessing and plotting module
GNU General Public License v3.0
35 stars 21 forks source link

[Bug] module 'openseespy.opensees' has no attribute 'getNDM' #23

Open Felix-Chan-12 opened 2 years ago

Felix-Chan-12 commented 2 years ago

Hi, it seems that the current version of opsvis(1.0.2) called an unknown attribute 'getNDM' from openseespy? I had the error when i run 'opsv.plot_defo()'. May you can fix it. Thanks so much.

sewkokot commented 2 years ago

@Felix-Chan-12 What version of openseespy do you use? The 'getNDM' command should be present in the current openseespy ver. 3.4.0.1.

Felix-Chan-12 commented 2 years ago

Oh, that's the reason. My openseespy version is 3.3.0.1 But i cannot upgrade my openseespy through 'pip install --upgrade openseespy' It shows the current latest version is 3.3.0.1. image

sewkokot commented 2 years ago

Perhaps you should upgrade your Python (Anaconda distribution?). The openseespy ver. 3.4.0.1 requires Python 3.9 https://pypi.org/project/openseespy/

Felix-Chan-12 commented 2 years ago

Ok, i'll try. Thanks for your reply :)

nc-hsu commented 1 year ago

I would suggest updating the requirements.txt file to include the minimum required version of openseespy required to allow opsvis to run. Thanks in advance