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

undefined symbol: Py_InitModule3 #3

Open
adityaxbiswas opened this issue Apr 4, 2017 · 2 comments
Open

undefined symbol: Py_InitModule3 #3

adityaxbiswas opened this issue Apr 4, 2017 · 2 comments

Comments

@adityaxbiswas
Copy link

Full error message:
from emd import emd
Traceback (most recent call last):

File "", line 1, in
from emd import emd

File "/home/aditya/anaconda3/lib/python3.6/site-packages/emd/init.py", line 4, in
from emd import emd

File "/home/aditya/anaconda3/lib/python3.6/site-packages/emd/emd.py", line 7, in
from c_emd import _emd

ImportError: /home/aditya/anaconda3/lib/python3.6/site-packages/c_emd.cpython-36m-x86_64-linux-gnu.so: undefined symbol: Py_InitModule3

Here is a link I found discussing how the issue arises in how Python 3 initializes modules:
http://stackoverflow.com/questions/34871354/how-to-port-a-specific-c-module-to-python-3

@garydoranjr
Copy link
Owner

Unfortunately, the code does not support Python 3 at this time; maybe some day.

@komiljonov
Copy link

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