2019-08-15T19:17:34 Created temporary directory: /tmp/pip-ephem-wheel-cache-u1b9yy8a 2019-08-15T19:17:34 Created temporary directory: /tmp/pip-req-tracker-sioo7uzd 2019-08-15T19:17:34 Created requirements tracker '/tmp/pip-req-tracker-sioo7uzd' 2019-08-15T19:17:34 Created temporary directory: /tmp/pip-wheel-mpti6tyt 2019-08-15T19:17:34 Collecting pybgs==3.0.0.dev1 2019-08-15T19:17:34 1 location(s) to search for versions of pybgs: 2019-08-15T19:17:34 * https://pypi.org/simple/pybgs/ 2019-08-15T19:17:34 Getting page https://pypi.org/simple/pybgs/ 2019-08-15T19:17:34 Analyzing links from page https://pypi.org/simple/pybgs/ 2019-08-15T19:17:34 Found link https://files.pythonhosted.org/packages/a9/b9/7509fffdab6138866efe4bac01f03711275ff647ebbabd18fe1273954f07/pybgs-3.0.0.dev1.tar.gz#sha256=4eb095bc752e91a013237e52e57bc54f07b49150c19be08051d11bb6e2d3b788 (from https://pypi.org/simple/pybgs/), version: 3.0.0.dev1 2019-08-15T19:17:34 Using version 3.0.0.dev1 (newest of versions: 3.0.0.dev1) 2019-08-15T19:17:34 Created temporary directory: /tmp/pip-unpack-h8vdnht3 2019-08-15T19:17:34 Downloading https://files.pythonhosted.org/packages/a9/b9/7509fffdab6138866efe4bac01f03711275ff647ebbabd18fe1273954f07/pybgs-3.0.0.dev1.tar.gz (249kB) 2019-08-15T19:17:34 Downloading from URL https://files.pythonhosted.org/packages/a9/b9/7509fffdab6138866efe4bac01f03711275ff647ebbabd18fe1273954f07/pybgs-3.0.0.dev1.tar.gz#sha256=4eb095bc752e91a013237e52e57bc54f07b49150c19be08051d11bb6e2d3b788 (from https://pypi.org/simple/pybgs/) 2019-08-15T19:17:35 Added pybgs==3.0.0.dev1 from https://files.pythonhosted.org/packages/a9/b9/7509fffdab6138866efe4bac01f03711275ff647ebbabd18fe1273954f07/pybgs-3.0.0.dev1.tar.gz#sha256=4eb095bc752e91a013237e52e57bc54f07b49150c19be08051d11bb6e2d3b788 to build tracker '/tmp/pip-req-tracker-sioo7uzd' 2019-08-15T19:17:35 Running setup.py (path:/tmp/pip-wheel-mpti6tyt/pybgs/setup.py) egg_info for package pybgs 2019-08-15T19:17:35 Running command python setup.py egg_info 2019-08-15T19:17:37 running egg_info 2019-08-15T19:17:37 creating pip-egg-info/pybgs.egg-info 2019-08-15T19:17:37 writing pip-egg-info/pybgs.egg-info/PKG-INFO 2019-08-15T19:17:37 writing dependency_links to pip-egg-info/pybgs.egg-info/dependency_links.txt 2019-08-15T19:17:37 writing top-level names to pip-egg-info/pybgs.egg-info/top_level.txt 2019-08-15T19:17:37 writing manifest file 'pip-egg-info/pybgs.egg-info/SOURCES.txt' 2019-08-15T19:17:37 reading manifest file 'pip-egg-info/pybgs.egg-info/SOURCES.txt' 2019-08-15T19:17:37 reading manifest template 'MANIFEST.in' 2019-08-15T19:17:38 warning: no files found matching '*.c' under directory 'src' 2019-08-15T19:17:38 no previously-included directories found matching 'build' 2019-08-15T19:17:38 no previously-included directories found matching 'dist' 2019-08-15T19:17:38 writing manifest file 'pip-egg-info/pybgs.egg-info/SOURCES.txt' 2019-08-15T19:17:39 Source in /tmp/pip-wheel-mpti6tyt/pybgs has version 3.0.0.dev1, which satisfies requirement pybgs==3.0.0.dev1 from https://files.pythonhosted.org/packages/a9/b9/7509fffdab6138866efe4bac01f03711275ff647ebbabd18fe1273954f07/pybgs-3.0.0.dev1.tar.gz#sha256=4eb095bc752e91a013237e52e57bc54f07b49150c19be08051d11bb6e2d3b788 2019-08-15T19:17:39 Removed pybgs==3.0.0.dev1 from https://files.pythonhosted.org/packages/a9/b9/7509fffdab6138866efe4bac01f03711275ff647ebbabd18fe1273954f07/pybgs-3.0.0.dev1.tar.gz#sha256=4eb095bc752e91a013237e52e57bc54f07b49150c19be08051d11bb6e2d3b788 from build tracker '/tmp/pip-req-tracker-sioo7uzd' 2019-08-15T19:17:39 Building wheels for collected packages: pybgs 2019-08-15T19:17:39 Created temporary directory: /tmp/pip-wheel-uvij5bnm 2019-08-15T19:17:39 Building wheel for pybgs (setup.py): started 2019-08-15T19:17:39 Destination directory: /tmp/pip-wheel-uvij5bnm 2019-08-15T19:17:39 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-mpti6tyt/pybgs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-uvij5bnm 2019-08-15T19:17:40 running bdist_wheel 2019-08-15T19:17:40 running build 2019-08-15T19:17:40 running build_py 2019-08-15T19:17:40 creating build 2019-08-15T19:17:40 creating build/lib.linux-armv7l-3.7 2019-08-15T19:17:40 creating build/lib.linux-armv7l-3.7/pybgs 2019-08-15T19:17:40 copying src/pybgs/hello.py -> build/lib.linux-armv7l-3.7/pybgs 2019-08-15T19:17:40 copying src/pybgs/__init__.py -> build/lib.linux-armv7l-3.7/pybgs 2019-08-15T19:17:40 running build_ext 2019-08-15T19:17:41 -- The C compiler identification is GNU 8.3.0 2019-08-15T19:17:42 -- The CXX compiler identification is GNU 8.3.0 2019-08-15T19:17:42 -- Check for working C compiler: /usr/bin/cc 2019-08-15T19:17:42 -- Check for working C compiler: /usr/bin/cc -- works 2019-08-15T19:17:42 -- Detecting C compiler ABI info 2019-08-15T19:17:43 -- Detecting C compiler ABI info - done 2019-08-15T19:17:43 -- Detecting C compile features 2019-08-15T19:17:45 -- Detecting C compile features - done 2019-08-15T19:17:45 -- Check for working CXX compiler: /usr/bin/c++ 2019-08-15T19:17:46 -- Check for working CXX compiler: /usr/bin/c++ -- works 2019-08-15T19:17:46 -- Detecting CXX compiler ABI info 2019-08-15T19:17:47 -- Detecting CXX compiler ABI info - done 2019-08-15T19:17:47 -- Detecting CXX compile features 2019-08-15T19:17:52 -- Detecting CXX compile features - done 2019-08-15T19:17:52 -- 2019-08-15T19:17:52 -- BGSLIBRARY WITH PYTHON SUPPORT: ON 2019-08-15T19:17:52 -- PYTHON VERSION: 3.7 2019-08-15T19:17:52 CMake Error at CMakeLists.txt:79 (find_package): 2019-08-15T19:17:52 By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has 2019-08-15T19:17:52 asked CMake to find a package configuration file provided by "OpenCV", but 2019-08-15T19:17:52 CMake did not find one. 2019-08-15T19:17:52 Could not find a package configuration file provided by "OpenCV" with any 2019-08-15T19:17:52 of the following names: 2019-08-15T19:17:52 OpenCVConfig.cmake 2019-08-15T19:17:52 opencv-config.cmake 2019-08-15T19:17:52 Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set 2019-08-15T19:17:52 "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" 2019-08-15T19:17:52 provides a separate development package or SDK, be sure it has been 2019-08-15T19:17:52 installed. 2019-08-15T19:17:52 -- Configuring incomplete, errors occurred! 2019-08-15T19:17:52 See also "/tmp/pip-wheel-mpti6tyt/pybgs/build/temp.linux-armv7l-3.7/CMakeFiles/CMakeOutput.log". 2019-08-15T19:17:52 Traceback (most recent call last): 2019-08-15T19:17:52 File "", line 1, in 2019-08-15T19:17:52 File "/tmp/pip-wheel-mpti6tyt/pybgs/setup.py", line 111, in 2019-08-15T19:17:52 keywords=['BGSLibrary', 'Background Subtraction', 'Computer Vision', 'Machine Learning'], 2019-08-15T19:17:52 File "/usr/local/lib/python3.7/dist-packages/setuptools/__init__.py", line 145, in setup 2019-08-15T19:17:52 return distutils.core.setup(**attrs) 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/core.py", line 148, in setup 2019-08-15T19:17:52 dist.run_commands() 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/dist.py", line 966, in run_commands 2019-08-15T19:17:52 self.run_command(cmd) 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command 2019-08-15T19:17:52 cmd_obj.run() 2019-08-15T19:17:52 File "/usr/lib/python3/dist-packages/wheel/bdist_wheel.py", line 188, in run 2019-08-15T19:17:52 self.run_command('build') 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command 2019-08-15T19:17:52 self.distribution.run_command(command) 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command 2019-08-15T19:17:52 cmd_obj.run() 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/command/build.py", line 135, in run 2019-08-15T19:17:52 self.run_command(cmd_name) 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/cmd.py", line 313, in run_command 2019-08-15T19:17:52 self.distribution.run_command(command) 2019-08-15T19:17:52 File "/usr/lib/python3.7/distutils/dist.py", line 985, in run_command 2019-08-15T19:17:52 cmd_obj.run() 2019-08-15T19:17:52 File "/tmp/pip-wheel-mpti6tyt/pybgs/setup.py", line 58, in run 2019-08-15T19:17:52 self.build_extension(ext) 2019-08-15T19:17:52 File "/tmp/pip-wheel-mpti6tyt/pybgs/setup.py", line 85, in build_extension 2019-08-15T19:17:52 subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env) 2019-08-15T19:17:52 File "/usr/lib/python3.7/subprocess.py", line 347, in check_call 2019-08-15T19:17:52 raise CalledProcessError(retcode, cmd) 2019-08-15T19:17:52 subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-wheel-mpti6tyt/pybgs', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/tmp/pip-wheel-mpti6tyt/pybgs/build/lib.linux-armv7l-3.7/pybgs', '-DPYTHON_EXECUTABLE=/usr/bin/python3', '-DBGS_PYTHON_SUPPORT=ON', '-DBGS_PYTHON_VERSION=3.7', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1. 2019-08-15T19:17:52 Building wheel for pybgs (setup.py): finished with status 'error' 2019-08-15T19:17:52 ERROR: Failed building wheel for pybgs 2019-08-15T19:17:52 Running setup.py clean for pybgs 2019-08-15T19:17:52 Running command /usr/bin/python3 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-wheel-mpti6tyt/pybgs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all 2019-08-15T19:17:54 running clean 2019-08-15T19:17:54 removing 'build/temp.linux-armv7l-3.7' (and everything under it) 2019-08-15T19:17:54 removing 'build/lib.linux-armv7l-3.7' (and everything under it) 2019-08-15T19:17:54 'build/bdist.linux-armv7l' does not exist -- can't clean it 2019-08-15T19:17:54 'build/scripts-3.7' does not exist -- can't clean it 2019-08-15T19:17:54 removing 'build' 2019-08-15T19:17:54 Failed to build pybgs 2019-08-15T19:17:54 Cleaning up... 2019-08-15T19:17:54 Removing source in /tmp/pip-wheel-mpti6tyt/pybgs 2019-08-15T19:17:54 Removed build tracker '/tmp/pip-req-tracker-sioo7uzd' 2019-08-15T19:17:54 ERROR: Failed to build one or more wheels 2019-08-15T19:17:54 Exception information: 2019-08-15T19:17:54 Traceback (most recent call last): 2019-08-15T19:17:54 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 178, in main 2019-08-15T19:17:54 status = self.run(options, args) 2019-08-15T19:17:54 File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/wheel.py", line 178, in run 2019-08-15T19:17:54 "Failed to build one or more wheels" 2019-08-15T19:17:54 pip._internal.exceptions.CommandError: Failed to build one or more wheels