geo-py icon indicating copy to clipboard operation
geo-py copied to clipboard

Getting a C Linkage error when installing the package

Open frmsaul opened this issue 7 years ago • 2 comments

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?

frmsaul avatar Nov 09 '18 06:11 frmsaul

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

habibutsu avatar Jul 12 '19 12:07 habibutsu

I am having same issues but with django docker building

image

Jetszxcki avatar Jun 14 '21 06:06 Jetszxcki