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
Fetching pybind11
-- Found PythonInterp: /usr/bin/python3.7 (found version "3.7.14")
-- Found PythonLibs: python3.7m
-- Performing Test HAS_CPP14_FLAG
-- Performing Test HAS_CPP14_FLAG - Success
-- pybind11 v2.5.0
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /home/tello/h264decoder/build/temp.linux-aarch64-cpython-37
Scanning dependencies of target h264decoderlib
[ 25%] Building CXX object CMakeFiles/h264decoderlib.dir/src/h264decoder.cpp.o
[ 50%] Linking CXX static library libh264decoderlib.a
[ 50%] Built target h264decoderlib
Scanning dependencies of target h264decoder
[ 75%] Building CXX object CMakeFiles/h264decoder.dir/src/h264decoder_python.cpp.o
In file included from /home/tello/h264decoder/build/temp.linux-aarch64-cpython-37/_deps/pybind11-src/include/pybind11/pytypes.h:12:0,
from /home/tello/h264decoder/build/temp.linux-aarch64-cpython-37/_deps/pybind11-src/include/pybind11/cast.h:13,
from /home/tello/h264decoder/build/temp.linux-aarch64-cpython-37/_deps/pybind11-src/include/pybind11/attr.h:13,
from /home/tello/h264decoder/build/temp.linux-aarch64-cpython-37/_deps/pybind11-src/include/pybind11/pybind11.h:44,
from /home/tello/h264decoder/src/h264decoder_python.cpp:6:
/home/tello/h264decoder/build/temp.linux-aarch64-cpython-37/_deps/pybind11-src/include/pybind11/detail/common.h:112:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
CMakeFiles/h264decoder.dir/build.make:62: recipe for target 'CMakeFiles/h264decoder.dir/src/h264decoder_python.cpp.o' failed
make[2]: *** [CMakeFiles/h264decoder.dir/src/h264decoder_python.cpp.o] Error 1
CMakeFiles/Makefile2:109: recipe for target 'CMakeFiles/h264decoder.dir/all' failed
make[1]: *** [CMakeFiles/h264decoder.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
File "<string>", line 36, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/home/tello/h264decoder/setup.py", line 84, in <module>
zip_safe=False,
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 185, in setup
return run_commands(dist)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
dist.run_commands()
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 968, in run_commands
self.run_command(cmd)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/command/install.py", line 68, in run
return orig.install.run(self)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/command/install.py", line 698, in run
self.run_command('build')
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/dist.py", line 1217, in run_command
super().run_command(command)
File "/home/tello/.local/lib/python3.7/site-packages/setuptools/_distutils/dist.py", line 987, in run_command
cmd_obj.run()
File "/home/tello/h264decoder/setup.py", line 46, in run
self.build_extension(ext)
File "/home/tello/h264decoder/setup.py", line 77, in build_extension
subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)
File "/usr/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for h264decoder
Running setup.py clean for h264decoder
Failed to build h264decoder
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> h264decoder
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> h264decoder
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
The text was updated successfully, but these errors were encountered:
note: This error originates from a subprocess, and is likely not a problem with pip. note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for h264decoder
Running setup.py clean for h264decoder
Failed to build h264decoder
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release', '--', '-j2']' returned non-zero exit status 2.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> h264decoder
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> h264decoder
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
The text was updated successfully, but these errors were encountered: