Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import error for python 3.10 on windows #102

Open
msevnctkn opened this issue Jan 5, 2023 · 2 comments
Open

import error for python 3.10 on windows #102

msevnctkn opened this issue Jan 5, 2023 · 2 comments

Comments

@msevnctkn
Copy link

hi everyone,

i have installed openseespy using pip. However does not work.
pw

@BijanSeif
Copy link

Hi

As I know, Currently latest version of Openseespy is compatible with python v3.9

@runlevel0
Copy link

I occasionally bump into issues like this, too.

In the (openseespy documentation)[https://openseespydoc.readthedocs.io/en/latest/] there is the specific Python version mentioned wich is required for the current version of openseespy for Windows. At the time of writing, this is Python 3.11:
image

The reason is, I suppose, that the build process is quite complicated and probably done in a (semi-)manual fashion. For Windows, it is not automated via GitHub Actions, because of missing Fortran support.
So any windows build of the package is kindly provided by the maintainer @zhuminjie.

The workaround to the issue is to find the last openseespy version that is built for a specific Python version. The last version compatible with Python 3.10 is 3.5.1.3, so I imagine this could help:

python -m pip install openseespy==3.5.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants