Import Error
jpizzollo opened this issue · 3 comments
jpizzollo commented
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 commented
I did not use pyfastx in anaconda environment. You can try to use pip install pyfastx.
jfgrimm commented
seeing same issue with a pip install (from source):
ImportError: dynamic module does not define module export function (PyInit_pyfastx)
jfgrimm commented
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