UkoeHB / CvVidProc

OpenCV video processing (for object tracking)
MIT License
1 stars 0 forks source link

Install failed in python virtual environment #4

Closed andylitalo closed 3 years ago

andylitalo commented 3 years ago

I created a virtual environment with Python 3.8 containing only numpy, scikit-build, and pybind11, with the hard-coded reference to my OpenCV installation, and received a similar error message as when I installed in my standard environment. The last few lines seem most relevant (I've addressed the errors during the build in other issues). It says to check the CMake output, but I can't figure out where that is:

running clean Processing /mnt/c/Users/andyl/OneDrive - California Institute of Technology/Documents/Research/Kornfield/ANALYSIS/bubble-tracking/CvVidProc Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Building wheels for collected packages: cvvidproc Building wheel for cvvidproc (PEP 517) ... error ERROR: Command errored out with exit status 1: command: /mnt/c/Users/andyl/envs/cvkoe/bin/python /mnt/c/Users/andyl/envs/cvkoe/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpqwpy_tin cwd: /tmp/pip-req-build-0iv3byhy Complete output (135 lines): Not searching for unused variables given on the command line. -- The C compiler identification is GNU 9.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- The CXX compiler identification is GNU 9.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-req-build-0iv3byhy/_cmake_test_compile/build CMAKE version used: 3.18.4 -- The CXX compiler identification is GNU 9.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenCV: /mnt/c/Downloads/opencv/build (found version "4.5.1") -- Found Python3: /mnt/c/Users/andyl/envs/cvkoe/bin/python (found version "3.8.5") found components: Interpreter Development NumPy Development.Module Development.Embed '/mnt/c/Users/andyl/envs/cvkoe/bin/python' '-c' 'import pybind11; print(pybind11.get_cmake_dir())' -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/pybind11/include (found version "2.6.2" ) -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-req-build-0iv3byhy/_skbuild/linux-x86_64-3.8/cmake-build [1/9] Building CXX object CMakeFiles/_core.dir/Sources/py_bindings.cpp.o FAILED: CMakeFiles/_core.dir/Sources/py_bindings.cpp.o /usr/bin/c++ -D_core_EXPORTS -Igenerated -I../../../Sources/AsyncTokens -I../../../Sources/ProcessorAlgos -I../../../Sources/ProcessorTokenHandlers -I../../../Sources/Utility -isystem /mnt/c/Downloads/opencv/build -isystem /mnt/c/Downloads/opencv/include -isystem /mnt/c/Downloads/opencv/modules/core/include -isystem /mnt/c/Downloads/opencv/modules/flann/include -isystem /mnt/c/Downloads/opencv/modules/imgproc/include -isystem /mnt/c/Downloads/opencv/modules/ml/include -isystem /mnt/c/Downloads/opencv/modules/photo/include -isystem /mnt/c/Downloads/opencv/modules/dnn/include -isystem /mnt/c/Downloads/opencv/modules/features2d/include -isystem /mnt/c/Downloads/opencv/modules/imgcodecs/include -isystem /mnt/c/Downloads/opencv/modules/videoio/include -isystem /mnt/c/Downloads/opencv/modules/calib3d/include -isystem /mnt/c/Downloads/opencv/modules/highgui/include -isystem /mnt/c/Downloads/opencv/modules/objdetect/include -isystem /mnt/c/Downloads/opencv/modules/stitching/include -isystem /mnt/c/Downloads/opencv/modules/ts/include -isystem /mnt/c/Downloads/opencv/modules/video/include -isystem /mnt/c/Downloads/opencv/modules/gapi/include -isystem /usr/include/python3.8 -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/pybind11/include -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/numpy/core/include -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -pthread -std=gnu++14 -MD -MT CMakeFiles/_core.dir/Sources/py_bindings.cpp.o -MF CMakeFiles/_core.dir/Sources/py_bindings.cpp.o.d -o CMakeFiles/_core.dir/Sources/py_bindings.cpp.o -c ../../../Sources/py_bindings.cpp ../../../Sources/py_bindings.cpp:9:10: fatal error: token_processor_algo_base.h: No such file or directory 9 | #include "token_processor_algo_base.h" | ^~~~~~~~~ compilation terminated. [2/9] Building CXX object CMakeFiles/_core.dir/Sources/Utility/ndarray_converter.cpp.o [3/9] Building CXX object CMakeFiles/_core.dir/Sources/ProcessorAlgos/highlight_bubbles_algo.cpp.o [4/9] Building CXX object CMakeFiles/_core.dir/Sources/Utility/cv_util.cpp.o [5/9] Building CXX object CMakeFiles/_core.dir/Sources/cv_vid_bg_helpers.cpp.o FAILED: CMakeFiles/_core.dir/Sources/cv_vid_bg_helpers.cpp.o /usr/bin/c++ -D_core_EXPORTS -Igenerated -I../../../Sources/AsyncTokens -I../../../Sources/ProcessorAlgos -I../../../Sources/ProcessorTokenHandlers -I../../../Sources/Utility -isystem /mnt/c/Downloads/opencv/build -isystem /mnt/c/Downloads/opencv/include -isystem /mnt/c/Downloads/opencv/modules/core/include -isystem /mnt/c/Downloads/opencv/modules/flann/include -isystem /mnt/c/Downloads/opencv/modules/imgproc/include -isystem /mnt/c/Downloads/opencv/modules/ml/include -isystem /mnt/c/Downloads/opencv/modules/photo/include -isystem /mnt/c/Downloads/opencv/modules/dnn/include -isystem /mnt/c/Downloads/opencv/modules/features2d/include -isystem /mnt/c/Downloads/opencv/modules/imgcodecs/include -isystem /mnt/c/Downloads/opencv/modules/videoio/include -isystem /mnt/c/Downloads/opencv/modules/calib3d/include -isystem /mnt/c/Downloads/opencv/modules/highgui/include -isystem /mnt/c/Downloads/opencv/modules/objdetect/include -isystem /mnt/c/Downloads/opencv/modules/stitching/include -isystem /mnt/c/Downloads/opencv/modules/ts/include -isystem /mnt/c/Downloads/opencv/modules/video/include -isystem /mnt/c/Downloads/opencv/modules/gapi/include -isystem /usr/include/python3.8 -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/pybind11/include -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/numpy/core/include -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -pthread -std=gnu++14 -MD -MT CMakeFiles/_core.dir/Sources/cv_vid_bg_helpers.cpp.o -MF CMakeFiles/_core.dir/Sources/cv_vid_bg_helpers.cpp.o.d -o CMakeFiles/_core.dir/Sources/cv_vid_bg_helpers.cpp.o -c ../../../Sources/cv_vid_bg_helpers.cpp In file included from ../../../Sources/AsyncTokens/token_batch_generator.h:7, from ../../../Sources/AsyncTokens/async_token_batch_generator.h:7, from ../../../Sources/cv_vid_bg_helpers.cpp:4: ../../../Sources/AsyncTokens/ts_interval_timer.h:109:46: error: use of deleted function ‘std::atomic<_Tp>::atomic() [with _Tp = TSIntervalTimer::IntervalPair]’ 109 | std::atomic m_interval_record{}; | ^ In file included from ../../../Sources/AsyncTokens/ts_interval_timer.h:11, from ../../../Sources/AsyncTokens/token_batch_generator.h:7, from ../../../Sources/AsyncTokens/async_token_batch_generator.h:7, from ../../../Sources/cv_vid_bg_helpers.cpp:4: /usr/include/c++/9/atomic:198:7: note: ‘std::atomic<_Tp>::atomic() noexcept [with _Tp = TSIntervalTimer::IntervalPair]’ is implicitly deleted because its exception-specification does not match the implicit exception-specification ‘’ 198 | atomic() noexcept = default; | ^~ [6/9] Building CXX object CMakeFiles/_core.dir/Sources/main.cpp.o FAILED: CMakeFiles/_core.dir/Sources/main.cpp.o /usr/bin/c++ -D_core_EXPORTS -Igenerated -I../../../Sources/AsyncTokens -I../../../Sources/ProcessorAlgos -I../../../Sources/ProcessorTokenHandlers -I../../../Sources/Utility -isystem /mnt/c/Downloads/opencv/build -isystem /mnt/c/Downloads/opencv/include -isystem /mnt/c/Downloads/opencv/modules/core/include -isystem /mnt/c/Downloads/opencv/modules/flann/include -isystem /mnt/c/Downloads/opencv/modules/imgproc/include -isystem /mnt/c/Downloads/opencv/modules/ml/include -isystem /mnt/c/Downloads/opencv/modules/photo/include -isystem /mnt/c/Downloads/opencv/modules/dnn/include -isystem /mnt/c/Downloads/opencv/modules/features2d/include -isystem /mnt/c/Downloads/opencv/modules/imgcodecs/include -isystem /mnt/c/Downloads/opencv/modules/videoio/include -isystem /mnt/c/Downloads/opencv/modules/calib3d/include -isystem /mnt/c/Downloads/opencv/modules/highgui/include -isystem /mnt/c/Downloads/opencv/modules/objdetect/include -isystem /mnt/c/Downloads/opencv/modules/stitching/include -isystem /mnt/c/Downloads/opencv/modules/ts/include -isystem /mnt/c/Downloads/opencv/modules/video/include -isystem /mnt/c/Downloads/opencv/modules/gapi/include -isystem /usr/include/python3.8 -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/pybind11/include -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/numpy/core/include -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -pthread -std=gnu++14 -MD -MT CMakeFiles/_core.dir/Sources/main.cpp.o -MF CMakeFiles/_core.dir/Sources/main.cpp.o.d -o CMakeFiles/_core.dir/Sources/main.cpp.o -c ../../../Sources/main.cpp In file included from ../../../Sources/main.cpp:9: ../../../Sources/AsyncTokens/ts_interval_timer.h:109:46: error: use of deleted function ‘std::atomic<_Tp>::atomic() [with _Tp = TSIntervalTimer::IntervalPair]’ 109 | std::atomic m_interval_record{}; | ^ In file included from ../../../Sources/AsyncTokens/ts_interval_timer.h:11, from ../../../Sources/main.cpp:9: /usr/include/c++/9/atomic:198:7: note: ‘std::atomic<_Tp>::atomic() noexcept [with _Tp = TSIntervalTimer::IntervalPair]’ is implicitly deleted because its exception-specification does not match the implicit exception-specification ‘’ 198 | atomic() noexcept = default; | ^~ [7/9] Building CXX object CMakeFiles/_core.dir/Sources/cv_vid_bubbletrack_helpers.cpp.o FAILED: CMakeFiles/_core.dir/Sources/cv_vid_bubbletrack_helpers.cpp.o /usr/bin/c++ -D_core_EXPORTS -Igenerated -I../../../Sources/AsyncTokens -I../../../Sources/ProcessorAlgos -I../../../Sources/ProcessorTokenHandlers -I../../../Sources/Utility -isystem /mnt/c/Downloads/opencv/build -isystem /mnt/c/Downloads/opencv/include -isystem /mnt/c/Downloads/opencv/modules/core/include -isystem /mnt/c/Downloads/opencv/modules/flann/include -isystem /mnt/c/Downloads/opencv/modules/imgproc/include -isystem /mnt/c/Downloads/opencv/modules/ml/include -isystem /mnt/c/Downloads/opencv/modules/photo/include -isystem /mnt/c/Downloads/opencv/modules/dnn/include -isystem /mnt/c/Downloads/opencv/modules/features2d/include -isystem /mnt/c/Downloads/opencv/modules/imgcodecs/include -isystem /mnt/c/Downloads/opencv/modules/videoio/include -isystem /mnt/c/Downloads/opencv/modules/calib3d/include -isystem /mnt/c/Downloads/opencv/modules/highgui/include -isystem /mnt/c/Downloads/opencv/modules/objdetect/include -isystem /mnt/c/Downloads/opencv/modules/stitching/include -isystem /mnt/c/Downloads/opencv/modules/ts/include -isystem /mnt/c/Downloads/opencv/modules/video/include -isystem /mnt/c/Downloads/opencv/modules/gapi/include -isystem /usr/include/python3.8 -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/pybind11/include -isystem /tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/numpy/core/include -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -pthread -std=gnu++14 -MD -MT CMakeFiles/_core.dir/Sources/cv_vid_bubbletrack_helpers.cpp.o -MF CMakeFiles/_core.dir/Sources/cv_vid_bubbletrack_helpers.cpp.o.d -o CMakeFiles/_core.dir/Sources/cv_vid_bubbletrack_helpers.cpp.o -c ../../../Sources/cv_vid_bubbletrack_helpers.cpp In file included from ../../../Sources/AsyncTokens/token_batch_generator.h:7, from ../../../Sources/AsyncTokens/async_token_batch_generator.h:7, from ../../../Sources/cv_vid_bubbletrack_helpers.cpp:5: ../../../Sources/AsyncTokens/ts_interval_timer.h:109:46: error: use of deleted function ‘std::atomic<_Tp>::atomic() [with _Tp = TSIntervalTimer::IntervalPair]’ 109 | std::atomic m_interval_record{}; | ^ In file included from ../../../Sources/AsyncTokens/ts_interval_timer.h:11, from ../../../Sources/AsyncTokens/token_batch_generator.h:7, from ../../../Sources/AsyncTokens/async_token_batch_generator.h:7, from ../../../Sources/cv_vid_bubbletrack_helpers.cpp:5: /usr/include/c++/9/atomic:198:7: note: ‘std::atomic<_Tp>::atomic() noexcept [with _Tp = TSIntervalTimer::IntervalPair]’ is implicitly deleted because its exception-specification does not match the implicit exception-specification ‘’ 198 | atomic() noexcept = default; | ^~ ninja: build stopped: subcommand failed. File "/tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 589, in setup cmkr.make(make_args, env=env) File "/tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 496, in make raise SKBuildError(


-- Trying "Ninja" generator






--







-- Trying "Ninja" generator - success

Configuring Project Working directory: /tmp/pip-req-build-0iv3byhy/_skbuild/linux-x86_64-3.8/cmake-build Command: cmake /tmp/pip-req-build-0iv3byhy -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-req-build-0iv3byhy/_skbuild/linux-x86_64-3.8/cmake-install/PySources/cvvidproc -DPYTHON_EXECUTABLE:FILEPATH=/mnt/c/Users/andyl/envs/cvkoe/bin/python -DPYTHON_VERSION_STRING:STRING=3.8.5 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.8 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.8.so -DSKBUILD:BOOL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-bxm2ypff/overlay/lib/python3.8/site-packages/skbuild/resources/cmake '-DCV_DIR:STRING='"'"'/mnt/c/Downloads/'"'"'' '-DCV_INSTALL_DIR:STRING='"'"'/mnt/c/Downloads/opencv/build/'"'"'' -DCMAKE_BUILD_TYPE:STRING=Release

Traceback (most recent call last):

An error occurred while building with CMake. Command: cmake --build . --target install --config Release -- Source directory: /tmp/pip-req-build-0iv3byhy Working directory: /tmp/pip-req-build-0iv3byhy/_skbuild/linux-x86_64-3.8/cmake-build Please see CMake's output for more information.

ERROR: Failed building wheel for cvvidproc Failed to build cvvidproc ERROR: Could not build wheels for cvvidproc which use PEP 517 and cannot be installed directly

UkoeHB commented 3 years ago

Which version failed?

andylitalo commented 3 years ago

0.7.0, but I just tried 0.7.2 and got another error (I posted it in the other issue but I'll repost here):

[5/9] Building CXX object CMakeFiles/_core.dir/Sources/py_bindings.cpp.o FAILED: CMakeFiles/_core.dir/Sources/py_bindings.cpp.o /usr/bin/c++ -D_core_EXPORTS -Igenerated -I../../../Sources/AsyncTokens -I../../../Sources/ProcessorAlgos -I../../../Sources/ProcessorTokenHandlers -I../../../Sources/Utility -isystem /usr/include/opencv4 -isystem /usr/include/python3.8 -isystem /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include -isystem /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/numpy/core/include -O3 -DNDEBUG -fPIC -fvisibility=hidden -flto -fno-fat-lto-objects -pthread -std=gnu++14 -MD -MT CMakeFiles/_core.dir/Sources/py_bindings.cpp.o -MF CMakeFiles/_core.dir/Sources/py_bindings.cpp.o.d -o CMakeFiles/_core.dir/Sources/py_bindings.cpp.o -c ../../../Sources/py_bindings.cpp ../../../Sources/py_bindings.cpp: In function ‘void pybind11_init_core(pybind11::module&)’: ../../../Sources/py_bindings.cpp:96:48: error: expected ‘)’ before ‘py’ 96 | note: 'args' should be a python dictionary" | ^ | ) 97 | py::args("function"), | ~~ ../../../Sources/py_bindings.cpp:92:7: note: to match this ‘(’ 92 | .def(py::init<py::function, | ^ ../../../Sources/py_bindings.cpp:98:20: error: no matching function for call to ‘pybind11::args::args(const char [5])’ 98 | py::args("args")); | ^ In file included from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/cast.h:13, from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/attr.h:13, from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:45, from ../../../Sources/Utility/ndarray_converter.h:23, from ../../../Sources/ProcessorAlgos/assign_bubbles_algo.h:7, from ../../../Sources/py_bindings.cpp:4: /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘pybind11::args::args()’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate expects 0 arguments, 1 provided /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘pybind11::args::args(pybind11::object&&)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: no known conversion for argument 1 from ‘const char [5]’ to ‘pybind11::object&&’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘pybind11::args::args(const pybind11::object&)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const pybind11::object&’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rsf8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘template<class Policy> pybind11::args::args(const pybind11::detail::accessor&)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: template argument deduction/substitution failed: ../../../Sources/pybindings.cpp:98:20: note: mismatched types ‘const pybind11::detail::accessor<Policy>’ and ‘const char [5]’ 98 | py::args("args")); | ^ In file included from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/cast.h:13, from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/attr.h:13, from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:45, from ../../../Sources/Utility/ndarray_converter.h:23, from ../../../Sources/ProcessorAlgos/assign_bubbles_algo.h:7, from ../../../Sources/py_bindings.cpp:4: /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘pybind11::args::args(pybind11::handle, pybind11::object::stolen_t)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate expects 2 arguments, 1 provided /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘pybind11::args::args(pybind11::handle, pybind11::object::borrowed_t)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate expects 2 arguments, 1 provided /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate: ‘pybind11::args::args(pybind11::handle, bool)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:29: note: candidate expects 2 arguments, 1 provided In file included from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/cast.h:13, from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/attr.h:13, from /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pybind11.h:45, from ../../../Sources/Utility/ndarray_converter.h:23, from ../../../Sources/ProcessorAlgos/assign_bubbles_algo.h:7, from ../../../Sources/py_bindings.cpp:4: /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:7: note: candidate: ‘pybind11::args::args(const pybind11::args&)’ 1350 | class args : public tuple { PYBIND11_OBJECT_DEFAULT(args, tuple, PyTuple_Check) }; | ^~~~ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:7: note: no known conversion for argument 1 from ‘const char [5]’ to ‘const pybind11::args&’ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:7: note: candidate: ‘pybind11::args::args(pybind11::args&&)’ /tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/pybind11/include/pybind11/pytypes.h:1350:7: note: no known conversion for argument 1 from ‘const char [5]’ to ‘pybind11::args&&’ ../../../Sources/pybindings.cpp:101:13: error: ‘VidBubbleTrackPack’ was not declared in this scope 101 | py::class(mod, "VidBubbleTrackPack") | ^~~~~~ ../../../Sources/pybindings.cpp:101:31: error: template argument 1 is invalid 101 | py::class(mod, "VidBubbleTrackPack") | ^ ../../../Sources/py_bindings.cpp:130:27: error: ‘TrackBubbles’ was not declared in this scope 130 | mod.def("TrackBubbles", &TrackBubbles, "Track bubbles in an OpenCV video.", | ^~~~ [6/9] Building CXX object CMakeFiles/_core.dir/Sources/cv_vid_bg_helpers.cpp.o [7/9] Building CXX object CMakeFiles/_core.dir/Sources/cv_vid_bubbletrack_helpers.cpp.o ninja: build stopped: subcommand failed. File "/tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/skbuild/setuptools_wrap.py", line 589, in setup cmkr.make(make_args, env=env) File "/tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/skbuild/cmaker.py", line 496, in make raise SKBuildError(


-- Trying "Ninja" generator






--







-- Trying "Ninja" generator - success

Configuring Project Working directory: /tmp/pip-req-build-7mq4o6yj/_skbuild/linux-x86_64-3.8/cmake-build Command: cmake /tmp/pip-req-build-7mq4o6yj -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=/tmp/pip-req-build-7mq4o6yj/_skbuild/linux-x86_64-3.8/cmake-install/PySources/cvvidproc -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python3 -DPYTHON_VERSION_STRING:STRING=3.8.5 -DPYTHON_INCLUDE_DIR:PATH=/usr/include/python3.8 -DPYTHON_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libpython3.8.so -DSKBUILD:BOOL=TRUE -DCMAKE_MODULE_PATH:PATH=/tmp/pip-build-env-rs_f8g8g/overlay/lib/python3.8/site-packages/skbuild/resources/cmake -DCMAKE_BUILD_TYPE:STRING=Release

Traceback (most recent call last):

An error occurred while building with CMake. Command: cmake --build . --target install --config Release -- Source directory: /tmp/pip-req-build-7mq4o6yj Working directory: /tmp/pip-req-build-7mq4o6yj/_skbuild/linux-x86_64-3.8/cmake-build Please see CMake's output for more information.

ERROR: Failed building wheel for cvvidproc Failed to build cvvidproc ERROR: Could not build wheels for cvvidproc which use PEP 517 and cannot be installed directly