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

Getting a C Linkage error when installing the package #5

Open
frmsaul opened this issue Nov 9, 2018 · 2 comments
Open

Getting a C Linkage error when installing the package #5

frmsaul opened this issue Nov 9, 2018 · 2 comments

Comments

@frmsaul
Copy link

frmsaul commented Nov 9, 2018

I'm using macOS high sierra as my OS and my python version is 3.7.0

/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/include/python3.7m/pystate.h:238:15: note: 'curexc_traceback' declared here
        PyObject *curexc_traceback;
                  ^
    15 errors generated.
    error: command 'clang' failed with exit status 1

Has anyone seen a similar issue before? What steps should I take to fix it?

@habibutsu
Copy link
Collaborator

Oh, yeah. This is because c-files were generated under lower version of Python than 3.7. As workaround you can install Cython beforehand for correctly generate extension. I'll try to fix it in near future

@Jetszxcki
Copy link

I am having same issues but with django docker building

image

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