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

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

Open
marcoippolito opened this issue Oct 9, 2019 · 0 comments

Comments

@marcoippolito
Copy link

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
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

1 participant