edwinkys/oasysdb

BUG: dynamic module does not define module export function on 0.4.1 python

Closed this issue · 2 comments

Short description

After upgraded from 0.3.0 to 0.4.1, codes break.

ImportError
Traceback (most recent call last) Cell In[1], line 1
----> 1 from oasysdb.prelude import Vector, Config, Database, Collection, Record

File ~/.pyenv/versions/3.11.4/envs/env/lib/python3.11/site-packages/oasysdb/__init__.py:2
      1 # flake8: noqa F401
----> 2 from .oasysdb import *

ImportError: dynamic module does not define module export function (PyInit_oasysdb)

Steps to reproduce

Just import from oasysdb.preludes

Expected Behavior

Works like a charm

BTW, great work.

Hey 👋

First of all, thank you for using OasysDB and taking your time to report this issue.

I just released a new patch version 0.4.2 to solve this issue:

I have tested it in the Google Colab demo that I have created:

Please let me know if your issue is resolved. I'll be happy to help 😁

Works now. 😁