ifzhang / ByteTrack

[ECCV 2022] ByteTrack: Multi-Object Tracking by Associating Every Detection Box
MIT License
4.8k stars 905 forks source link

Continuous Error After Multiple Changes to Versions Utilized in Requirements File #415

Open AOSEI1001 opened 3 months ago

AOSEI1001 commented 3 months ago

Building wheels for collected packages: onnx, lap Building wheel for onnx (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for onnx (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [90 lines of output]

:32: DeprecationWarning: Use shutil.which instead of find_executable :33: DeprecationWarning: Use shutil.which instead of find_executable fatal: not a git repository (or any of the parent directories): .git C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\dist.py:268: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\dist.py:447: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'license-file' will not be supported in future versions. Please use the underscore name 'license_file' instead. By 2024-Sep-26, you need to update your project and remove deprecated calls or your builds will no longer be supported. See https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for details. ******************************************************************************** !! opt = self.warn_dash_deprecation(opt, section) running bdist_wheel running build running build_py running create_version running cmake_build Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "C:\Users\veron\AppData\Local\Programs\Python\Python311\Scripts\cmake.exe\__main__.py", line 4, in ModuleNotFoundError: No module named 'cmake' Traceback (most recent call last): File "C:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in main() File "C:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel return _build_backend().build_wheel(wheel_directory, config_settings, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\build_meta.py", line 415, in build_wheel return self._build_with_temp_dir( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\build_meta.py", line 397, in _build_with_temp_dir self.run_setup() File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\build_meta.py", line 497, in run_setup super().run_setup(setup_script=setup_script) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\build_meta.py", line 313, in run_setup exec(code, locals()) File "", line 321, in File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\__init__.py", line 108, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands dist.run_commands() File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 970, in run_commands self.run_command(cmd) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command super().run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command cmd_obj.run() File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\command\bdist_wheel.py", line 373, in run self.run_command("build") File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command self.distribution.run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command super().run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command cmd_obj.run() File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command self.distribution.run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command super().run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command cmd_obj.run() File "", line 217, in run File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command self.distribution.run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\dist.py", line 945, in run_command super().run_command(command) File "C:\Users\veron\AppData\Local\Temp\pip-build-env-1q0040pf\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 989, in run_command cmd_obj.run() File "", line 203, in run File "C:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['C:\\Users\\veron\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\cmake.exe', '-DPYTHON_INCLUDE_DIR=C:\\Users\\veron\\AppData\\Local\\Programs\\Python\\Python311\\include', '-DPYTHON_EXECUTABLE=C:\\Users\\veron\\AppData\\Local\\Programs\\Python\\Python311\\python.exe', '-DBUILD_ONNX_PYTHON=ON', '-DCMAKE_EXPORT_COMPILE_COMMANDS=ON', '-DONNX_NAMESPACE=onnx', '-DPY_EXT_SUFFIX=.cp311-win_amd64.pyd', '-DCMAKE_BUILD_TYPE=Release', '-DPY_VERSION=3.11', '-DONNX_USE_MSVC_STATIC_RUNTIME=ON', '-A', 'x64', '-T', 'host=x64', '-DONNX_ML=1', 'C:\\Users\\veron\\AppData\\Local\\Temp\\pip-install-v22dg4dw\\onnx_4537215313c544a88af7a7aaa2d32d85']' returned non-zero exit status 1. [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for onnx Building wheel for lap (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [125 lines of output] C:\Users\veron\AppData\Local\Temp\pip-install-v22dg4dw\lap_dd92d9192bdf4f82bf434534db26115c\setup.py:4: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import parse_version Partial import of lap during the build process. C:\Users\veron\AppData\Local\Temp\pip-install-v22dg4dw\lap_dd92d9192bdf4f82bf434534db26115c\setup.py:223: DeprecationWarning: `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use `setuptools < 60.0` for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html from numpy.distutils.core import setup Generating cython files running bdist_wheel running build running config_cc INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src INFO: build_src INFO: building extension "lap._lapjv" sources INFO: building data_files sources INFO: build_src: building npy-pkg config files C:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\_distutils\cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running build_py creating build creating build\lib.win-amd64-cpython-311 creating build\lib.win-amd64-cpython-311\lap copying lap\lapmod.py -> build\lib.win-amd64-cpython-311\lap copying lap\__init__.py -> build\lib.win-amd64-cpython-311\lap running build_ext INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils INFO: customize MSVCCompiler INFO: customize MSVCCompiler using build_ext INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (/O2) creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python\Python311 creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python\Python311\Lib creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\distutils creating C:\Users\veron\AppData\Local\Temp\tmpkw1ugm0a\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\distutils\checks INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (/WX) WARN: CCompilerOpt.__init__[1253] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it WARN: CCompilerOpt.__init__[1253] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it WARN: CCompilerOpt.__init__[1253] : feature 'AVX512_SPR' is disabled, MSVC compiler doesn't support it INFO: CCompilerOpt.__init__[1795] : check requested baseline INFO: CCompilerOpt.feature_test[1560] : testing feature 'SSE' with flags () INFO: CCompilerOpt.feature_test[1560] : testing feature 'SSE2' with flags () INFO: CCompilerOpt.feature_test[1560] : testing feature 'SSE3' with flags () INFO: CCompilerOpt.__init__[1804] : check requested dispatch-able features INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (/arch:AVX) INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (/arch:AVX2) INFO: CCompilerOpt.cc_test_flags[1086] : testing flags (/arch:AVX512) INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX512CD' with flags (/arch:AVX512) INFO: CCompilerOpt.feature_test[1560] : testing feature 'F16C' with flags (/arch:AVX) INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX512F' with flags (/arch:AVX512) INFO: CCompilerOpt.feature_test[1560] : testing feature 'POPCNT' with flags () INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX2' with flags (/arch:AVX2) INFO: CCompilerOpt.feature_test[1560] : testing feature 'SSSE3' with flags () INFO: CCompilerOpt.feature_test[1560] : testing feature 'FMA3' with flags (/arch:AVX2) INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX' with flags (/arch:AVX) INFO: CCompilerOpt.feature_test[1560] : testing feature 'SSE41' with flags () INFO: CCompilerOpt.feature_test[1560] : testing feature 'SSE42' with flags () INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX512_SKX' with flags (/arch:AVX512) INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX512_CLX' with flags (/arch:AVX512) INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX512_CNL' with flags (/arch:AVX512) INFO: CCompilerOpt.feature_test[1560] : testing feature 'AVX512_ICL' with flags (/arch:AVX512) INFO: CCompilerOpt.__init__[1816] : skip features (SSE3 SSE SSE2) since its part of baseline INFO: CCompilerOpt.__init__[1820] : initialize targets groups INFO: CCompilerOpt.__init__[1822] : parse target group simd_test INFO: CCompilerOpt._parse_target_tokens[2033] : skip targets (VSX2 VSX4 VXE2 VSX3 ASIMD VXE VSX FMA4 VX XOP NEON) not part of baseline or dispatch-able features INFO: CCompilerOpt._parse_policy_not_keepbase[2145] : skip baseline features (SSE2) INFO: CCompilerOpt.generate_dispatch_header[2366] : generate CPU dispatch header: (build\src.win-amd64-3.11\numpy\distutils\include\npy_cpu_dispatch_config.h) WARN: CCompilerOpt.generate_dispatch_header[2375] : dispatch header dir build\src.win-amd64-3.11\numpy\distutils\include does not exist, creating it INFO: CCompilerOpt.feature_extra_checks[1640] : Testing extra checks for feature 'AVX512F' (AVX512F_REDUCE) INFO: CCompilerOpt.feature_extra_checks[1640] : Testing extra checks for feature 'AVX512_SKX' (AVX512BW_MASK AVX512DQ_MASK) INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils INFO: customize MSVCCompiler WARN: Missing compiler_cxx fix for MSVCCompiler INFO: customize MSVCCompiler using build_ext INFO: building 'lap._lapjv' extension INFO: compiling C sources creating build\temp.win-amd64-cpython-311\Release\lap INFO: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\include -Ilap -IC:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\include -Ibuild\src.win-amd64-3.11\numpy\distutils\include -IC:\Users\veron\AppData\Local\Programs\Python\Python311\include -IC:\Users\veron\AppData\Local\Programs\Python\Python311\Include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt /EHsc /Tplap\_lapjv.cpp /Fobuild\temp.win-amd64-cpython-311\Release\lap\_lapjv.obj /Zm1000 _lapjv.cpp lap\_lapjv.cpp(181): fatal error C1083: Cannot open include file: 'longintrepr.h': No such file or directory error: Command "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\include -Ilap -IC:\Users\veron\AppData\Local\Programs\Python\Python311\Lib\site-packages\numpy\core\include -Ibuild\src.win-amd64-3.11\numpy\distutils\include -IC:\Users\veron\AppData\Local\Programs\Python\Python311\include -IC:\Users\veron\AppData\Local\Programs\Python\Python311\Include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\ATLMFC\include -IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include -IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\um -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\shared -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\winrt -IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22621.0\\cppwinrt /EHsc /Tplap\_lapjv.cpp /Fobuild\temp.win-amd64-cpython-311\Release\lap\_lapjv.obj /Zm1000" failed with exit status 2 INFO: ########### EXT COMPILER OPTIMIZATION ########### INFO: Platform : Architecture: x64 Compiler : msvc CPU baseline : Requested : 'min' Enabled : SSE SSE2 SSE3 Flags : none Extra checks: none CPU dispatch : Requested : 'max -xop -fma4' Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 AVX2 AVX512F AVX512CD AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL Generated : none INFO: CCompilerOpt.cache_flush[864] : write cache to path -> C:\Users\veron\AppData\Local\Temp\pip-install-v22dg4dw\lap_dd92d9192bdf4f82bf434534db26115c\build\temp.win-amd64-cpython-311\Release\ccompiler_opt_cache_ext.py [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lap Running setup.py clean for lap Failed to build onnx lap ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (onnx, lap)