AlexanderParkin / ChaLearn_liveness_challenge

ChaLearn Face Anti-spoofing Attack Detection Challenge@CVPR2019
MIT License
411 stars 91 forks source link

no member named ‘exc_value’; did you mean ‘curexc_value’? #6

Open marcoippolito opened 5 years ago

marcoippolito commented 5 years ago

During the installation of the requirements:

(python3) (ChaLearn) marco@pc:~/antiFaceSpoofing/ChaLearn_liveness_challenge-master$ 
pip3 install -r requirements.txt

  Running setup.py install for pandocfilters ... done
  Running setup.py install for line-profiler ... error
    Complete output from command /home/marco/antiFaceSpoofing 
/ChaLearn_liveness_challenge-master/ChaLearn/bin/python3 -u -c "import setuptools, 
tokenize;__file__='/tmp/pip-install-3l1jfhn8/line-profiler/setup.py';f=getattr(tokenize, 'open', 
open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" 
install --record /tmp/pip-record-4guy7wor/install-record.txt --single-version-externally-managed
--compile --install-headers /home/marco/antiFaceSpoofing/ChaLearn_liveness_challenge-
master/ChaLearn/include/site/python3.7/line-profiler:
    Could not import Cython. Using the available pre-generated C file.
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.7
    copying line_profiler.py -> build/lib.linux-x86_64-3.7
    copying kernprof.py -> build/lib.linux-x86_64-3.7
    copying line_profiler_py35.py -> build/lib.linux-x86_64-3.7
    running build_ext
    building '_line_profiler' extension
    creating build/temp.linux-x86_64-3.7
    gcc -pthread -B /home/marco/anaconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare 
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/marco/antiFaceSpoofing
/ChaLearn_liveness_challenge-master/ChaLearn/include -I/home/marco/anaconda3/include
/python3.7m -c _line_profiler.c -o build/temp.linux-x86_64-3.7/_line_profiler.o
    In file included from _line_profiler.c:476:0:
    unset_trace.h:1:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
     void unset_trace();
     ^~~~
    _line_profiler.c: In function ‘__Pyx__ExceptionSave’:
    _line_profiler.c:7890:21: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘exc_type’; did you mean ‘curexc_type’?
         *type = tstate->exc_type;
                         ^~~~~~~~
                         curexc_type
    _line_profiler.c:7891:22: error: ‘PyThreadState {aka struct _ts}’ has no member named  
‘exc_value’; did you mean ‘curexc_value’?
         *value = tstate->exc_value;
                          ^~~~~~~~~
                          curexc_value
    _line_profiler.c:7892:19: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘exc_traceback’; did you mean ‘curexc_traceback’?
         *tb = tstate->exc_traceback;
                       ^~~~~~~~~~~~~
                       curexc_traceback
    _line_profiler.c: In function ‘__Pyx__ExceptionReset’:
    _line_profiler.c:7899:24: error: ‘PyThreadState {aka struct _ts}’ has no member named 
‘exc_type’; did you mean ‘curexc_type’?
         tmp_type = tstate->exc_type;
                            ^~~~~~~~
                             curexc_type