zhuminjie / OpenSeesPy

OpenSeesPy versions, doc, and pip
Other
177 stars 66 forks source link

Unable to import version 3.4.0.4 #100

Closed ioannis-vm closed 2 years ago

ioannis-vm commented 2 years ago

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!

zhuminjie commented 2 years ago

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

zhuminjie commented 2 years ago

new version is updated. Thanks

ioannis-vm commented 2 years ago

Thank YOU!!