错误: 子进程以错误终止 为 onnx 构建 wheels (pyproject.toml) 失败。
Collecting oauthlib>=3.0.0 (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard->-r requirements.txt (line 13)) Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB) Building wheels for collected packages: onnx, onnx-simplifier, lap, filterpy 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 fatal: not found git repository (or one of the parent directories): .git /tmp/pip-build-env-82rfe9_d/overlay/lib/python3.10/site-packages/setuptools/dist.py:745: 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 2023-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) /tmp/pip-build-env-82rfe9_d/overlay/lib/python3.10/site-packages/setuptools/config/setupcfg.py:293: _DeprecatedConfig: Deprecated config in `setup.cfg` !!! ****************************************************************************** The license_file parameter is deprecated, use license_files instead. By 2023-Oct-30, 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. ****************************************************************************** parsed = self.parsers.get(option_name, lambda x: x)(value) running bdist_wheel running build running build_py running create_version running cmake_build Traceback (most recent call last): File "/home/nikita/VS_Code_Projects/Test_project/venv/bin/cmake", line 5, in <module> from cmake import cmake ModuleNotFoundError: No module named 'cmake' Traceback (most recent call last): File "/home/nikita/VS_Code_Projects/Test_project/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/home/nikita/VS_Code_Projects/Test_project/venv/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main …
内容来源: FoundationVision/ByteTrack