Cant import Openseespy on python3.10

Forum for asking and answering questions related to use of the OpenSeesPy module

Moderators: silvia, selimgunay, Moderators

Post Reply
paysheen
Posts: 28
Joined: Wed Feb 22, 2017 4:18 am
Location: Tehran Polytechnique

Cant import Openseespy on python3.10

Post by paysheen » Thu Sep 29, 2022 6:34 am

when I run the following line import openseespy.opensees as ops
I get:
Traceback (most recent call last):
File ".../....py", line 8, in <module>
import openseespy.opensees as ops
File "C:\Users\Asus\AppData\Local\Programs\Python\Python310\lib\site-packages\openseespy\opensees\__init__.py", line 22, in <module>
raise RuntimeError('Failed to import openseespy on Windows.')
RuntimeError: Failed to import openseespy on Windows.

mhscott
Posts: 872
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: Cant import Openseespy on python3.10

Post by mhscott » Thu Sep 29, 2022 7:35 am

Right now, OpenSeesPy works with 3.9 and lower

Post Reply