You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
[ 96%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o
/home/sayak/caffe2/caffe2/python/pybind_state.cc: In member function ‘virtual bool caffe2::python::PythonOpBase::RunOnDevice()’:
/home/sayak/caffe2/caffe2/python/pybind_state.cc:202:74: error: ‘PyString_AsString’ was not declared in this scope
PyString_AsString(trace_vec[i]->tb_frame->f_code->co_filename);
^
/home/sayak/caffe2/caffe2/python/pybind_state.cc: In lambda function:
/home/sayak/caffe2/caffe2/python/pybind_state.cc:322:41: error: ‘PyString_Check’ was not declared in this scope
if (PyString_Check(arg.ptr())) { // string
^
/home/sayak/caffe2/caffe2/python/pybind_state.cc: In lambda function:
/home/sayak/caffe2/caffe2/python/pybind_state.cc:824:37: error: ‘PyString_Check’ was not declared in this scope
if (PyString_Check(arg.ptr())) { // string
^
caffe2/CMakeFiles/caffe2_pybind11_state.dir/build.make:62: recipe for target 'caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o' failed
make[3]: *** [caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o] Error 1
make[3]: Leaving directory '/home/sayak/caffe2/build'
CMakeFiles/Makefile2:2609: recipe for target 'caffe2/CMakeFiles/caffe2_pybind11_state.dir/all' failed
make[2]: *** [caffe2/CMakeFiles/caffe2_pybind11_state.dir/all] Error 2
make[2]: Leaving directory '/home/sayak/caffe2/build'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/sayak/caffe2/build'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
I am giving the error trace when it starts:
[ 96%] Building CXX object caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o
/home/sayak/caffe2/caffe2/python/pybind_state.cc: In member function ‘virtual bool caffe2::python::PythonOpBase::RunOnDevice()’:
/home/sayak/caffe2/caffe2/python/pybind_state.cc:202:74: error: ‘PyString_AsString’ was not declared in this scope
PyString_AsString(trace_vec[i]->tb_frame->f_code->co_filename);
^
/home/sayak/caffe2/caffe2/python/pybind_state.cc: In lambda function:
/home/sayak/caffe2/caffe2/python/pybind_state.cc:322:41: error: ‘PyString_Check’ was not declared in this scope
if (PyString_Check(arg.ptr())) { // string
^
/home/sayak/caffe2/caffe2/python/pybind_state.cc: In lambda function:
/home/sayak/caffe2/caffe2/python/pybind_state.cc:824:37: error: ‘PyString_Check’ was not declared in this scope
if (PyString_Check(arg.ptr())) { // string
^
caffe2/CMakeFiles/caffe2_pybind11_state.dir/build.make:62: recipe for target 'caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o' failed
make[3]: *** [caffe2/CMakeFiles/caffe2_pybind11_state.dir/python/pybind_state.cc.o] Error 1
make[3]: Leaving directory '/home/sayak/caffe2/build'
CMakeFiles/Makefile2:2609: recipe for target 'caffe2/CMakeFiles/caffe2_pybind11_state.dir/all' failed
make[2]: *** [caffe2/CMakeFiles/caffe2_pybind11_state.dir/all] Error 2
make[2]: Leaving directory '/home/sayak/caffe2/build'
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/sayak/caffe2/build'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: