Closed MsRabbits closed 5 years ago
(tensorflow) E:\pycharm2019\project_tree\objecdetection_match\Faster-RCNN-TensorFlow-Python3-master_final\Faster-RCNN-TensorFlow-Python3-master\lib\utils>python setup.py build_ext --inp
lace
running build_ext
skipping 'cython_bbox.c' Cython extension (up-to-date)
building 'cython_bbox' extension
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IE:\anaconda\anaconda\envs\tensorflow\lib\site-packages\numpy\core\inclu
de -IE:\anaconda\anaconda\envs\tensorflow\include -IE:\anaconda\anaconda\envs\tensorflow\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IE:\Windows Kits\10
\include\10.0.18362.0\ucrt" "-IE:\Windows Kits\10\include\10.0.18362.0\shared" "-IE:\Windows Kits\10\include\10.0.18362.0\um" "-IE:\Windows Kits\10\include\10.0.18362.0\winrt" /Tccython
_bbox.c /Fobuild\temp.win-amd64-3.7\Release\cython_bbox.obj
cython_bbox.c
e:\anaconda\anaconda\envs\tensorflow\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DE
PRECATED_API NPY_1_7_API_VERSION
cython_bbox.c(1657): warning C4244: '=': conversion from 'npy_intp' to 'unsigned int', possible loss of data
cython_bbox.c(1666): warning C4244: '=': conversion from 'npy_intp' to 'unsigned int', possible loss of data
cython_bbox.c(2339): warning C4244: '=': conversion from 'npy_intp' to 'unsigned int', possible loss of data
cython_bbox.c(2348): warning C4244: '=': conversion from 'npy_intp' to 'unsigned int', possible loss of data
cython_bbox.c(6726): error C2039: 'exc_type': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6727): error C2039: 'exc_value': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6728): error C2039: 'exc_traceback': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6735): error C2039: 'exc_type': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6736): error C2039: 'exc_value': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6737): error C2039: 'exc_traceback': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6738): error C2039: 'exc_type': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6739): error C2039: 'exc_value': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6740): error C2039: 'exc_traceback': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6795): error C2039: 'exc_type': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6796): error C2039: 'exc_value': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6797): error C2039: 'exc_traceback': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6798): error C2039: 'exc_type': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6799): error C2039: 'exc_value': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(6800): error C2039: 'exc_traceback': is not a member of '_ts'
e:\anaconda\anaconda\envs\tensorflow\include\pystate.h(212): note: see declaration of '_ts'
cython_bbox.c(7180): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
cython_bbox.c(7186): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
What version of python are you using?
I have solved this error. thx!!
How?
when I go to ./lib/utils and run python setup.py build_ext --inplace the error above came out, can some one tell me how to sove it?