0

I am trying to install PyQuante on my RPI4 running Raspbian. I am using python 3.7.3.. The installation does not work and I do not have any idea why. I pasted the error message below. I was trying for a long time to get it to finally install

Thanks in advance.

Src/PyQuante/contracted_gto.c: In function ‘__Pyx_Method_ClassMethod’:
Src/PyQuante/contracted_gto.c:2063:44: error: ‘PyMethodDescrObject’ {aka ‘struct <anonymous>’} has no member named ‘d_type’
         return PyDescr_NewClassMethod(descr->d_type, descr->d_method);
                                            ^~
Src/PyQuante/contracted_gto.c: In function ‘__Pyx_ErrRestore’:
Src/PyQuante/contracted_gto.c:2190:18: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
     if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
                  ^~~~~~~~
                  curexc_type
Src/PyQuante/contracted_gto.c:2190:47: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
     if ((tstate->exc_type != NULL) & (tstate->exc_type != Py_None)) {
                                               ^~~~~~~~
                                               curexc_type
Src/PyQuante/contracted_gto.c:2191:28: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tmp_type = tstate->exc_type;
                            ^~~~~~~~
                            curexc_type
Src/PyQuante/contracted_gto.c:2192:29: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tmp_value = tstate->exc_value;
                             ^~~~~~~~~
                             curexc_value
Src/PyQuante/contracted_gto.c:2193:26: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tmp_tb = tstate->exc_traceback;
                          ^~~~~~~~~~~~~
                          curexc_traceback
Src/PyQuante/contracted_gto.c:2196:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_type’; did you mean ‘curexc_type’?
         tstate->exc_type = 0;
                 ^~~~~~~~
                 curexc_type
Src/PyQuante/contracted_gto.c:2197:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_value’; did you mean ‘curexc_value’?
         tstate->exc_value = 0;
                 ^~~~~~~~~
                 curexc_value
Src/PyQuante/contracted_gto.c:2198:17: error: ‘PyThreadState’ {aka ‘struct _ts’} has no member named ‘exc_traceback’; did you mean ‘curexc_traceback’?
         tstate->exc_traceback = 0;
                 ^~~~~~~~~~~~~
                 curexc_traceback
error: command 'gcc' failed with exit status 1
  • Try the solutions [here](https://stackoverflow.com/questions/11094718/error-command-gcc-failed-with-exit-status-1-while-installing-eventlet). A 'gcc' error seems to be a common factor. – mark_s Jun 29 '21 at 03:54

0 Answers0