Skip to content

pip install error for python 3.7 #10

@Feng-long

Description

@Feng-long

Hi
When I tried to install bandmat using pip install bandmat. There are errors like followings. I've already installed numpy scipy and cython(0.29). Python version is 3.7

bandmat/core.c: In function '__Pyx_ExceptionSave':
bandmat/core.c:15606:19: error: 'PyThreadState' has no member named 'exc_type'
*type = tstate->exc_type;
^
bandmat/core.c:15607:20: error: 'PyThreadState' has no member named 'exc_value'
*value = tstate->exc_value;
^
bandmat/core.c:15608:17: error: 'PyThreadState' has no member named 'exc_traceback'
*tb = tstate->exc_traceback;
^
bandmat/core.c: In function '__Pyx_ExceptionReset':
bandmat/core.c:15620:22: error: 'PyThreadState' has no member named 'exc_type'
tmp_type = tstate->exc_type;
^
bandmat/core.c:15621:23: error: 'PyThreadState' has no member named 'exc_value'
tmp_value = tstate->exc_value;
^
bandmat/core.c:15622:20: error: 'PyThreadState' has no member named 'exc_traceback'
tmp_tb = tstate->exc_traceback;
^
bandmat/core.c:15623:11: error: 'PyThreadState' has no member named 'exc_type'
tstate->exc_type = type;
^
bandmat/core.c:15624:11: error: 'PyThreadState' has no member named 'exc_value'
tstate->exc_value = value;
^
bandmat/core.c:15625:11: error: 'PyThreadState' has no member named 'exc_traceback'
tstate->exc_traceback = tb;
^
bandmat/core.c: In function '__Pyx_GetException':
bandmat/core.c:15668:22: error: 'PyThreadState' has no member named 'exc_type'
tmp_type = tstate->exc_type;
^
bandmat/core.c:15669:23: error: 'PyThreadState' has no member named 'exc_value'
tmp_value = tstate->exc_value;
^
bandmat/core.c:15670:20: error: 'PyThreadState' has no member named 'exc_traceback'
tmp_tb = tstate->exc_traceback;
^
bandmat/core.c:15671:11: error: 'PyThreadState' has no member named 'exc_type'
tstate->exc_type = local_type;
^
bandmat/core.c:15672:11: error: 'PyThreadState' has no member named 'exc_value'
tstate->exc_value = local_value;
^
bandmat/core.c:15673:11: error: 'PyThreadState' has no member named 'exc_traceback'
tstate->exc_traceback = local_tb;
^
error: command 'gcc' failed with exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions