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 #60

Open
jpizzollo opened this issue Feb 27, 2023 · 3 comments
Open

Import Error #60

jpizzollo opened this issue Feb 27, 2023 · 3 comments

Comments

@jpizzollo
Copy link

Installation reported success, but unable to import...

Python 3.6.13 | packaged by conda-forge | (default, Feb 19 2021, 05:36:01)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> import pyfastx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: dynamic module does not define module export function (PyInit_pyfastx)
@lmdu
Copy link
Owner

lmdu commented Mar 1, 2023

I did not use pyfastx in anaconda environment. You can try to use pip install pyfastx.

@jfgrimm
Copy link

jfgrimm commented Mar 10, 2023

seeing same issue with a pip install (from source):

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

@jfgrimm
Copy link

jfgrimm commented Mar 10, 2023

OK, the source tarball on PYPI seems to be missing a load of files compared to the GitHub auto-generated one:
https://gist.github.com/jfgrimm/3711b0965a72973e5c4249b9878413e3
building from the GitHub one works for me

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