zhuminjie / OpenSeesPy

OpenSeesPy versions, doc, and pip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to import version 3.4.0.4

ioannis-vm opened this issue · comments

Hello,
When I try to import the version that was released today, I am getting the following error:

>>> import openseespy.opensees as ops
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/john_vm/.conda/envs/ops/lib/python3.10/site-packages/openseespy/__init__.py", line 1, in <module>
    from openseespy.version import version
ModuleNotFoundError: No module named 'openseespy.version'

It appears that the version.py file located in the project root is missing in this release. Adding that file resolves the issue.

$ echo 'version = "3.4.0.4"' > /home/john_vm/.conda/envs/ops/lib/python3.10/site-packages/openseespy/version.py
$ python
>>> import openseespy.opensees as ops
>>> 

Could you please look into it? --Thanks!

Yeah, it has an error. I will fix it soon.

new version is updated. Thanks