× Failed to build samplerate==0.2.1
├─▶ The build backend returned an error
╰─▶ Call to setuptools.build_meta.build_wheel failed (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_ext
[stderr]
/Users/wsy/.cache/uv/builds-v0/.tmpQCt3HA/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:82:
SetuptoolsDeprecationWarning: `project.license` as a TOML table is
deprecated
!!
********************************************************************************
Please use a simple string containing a SPDX expression for
`project.license`. You can also use `project.license-files`. (Both
options available on setuptools>=77.0.0).
By 2026-Feb-18, you need to update your project and remove
deprecated calls
or your builds will no longer be supported.
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
corresp(dist, value, root_dir)
/Users/wsy/.cache/uv/builds-v0/.tmpQCt3HA/lib/python3.10/site-packages/setuptools/config/_apply_pyprojecttoml.py:61:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a
SPDX license expression:
License :: OSI Approved :: MIT License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
dist._finalize_license_expression()
/Users/wsy/.cache/uv/builds-v0/.tmpQCt3HA/lib/python3.10/site-packages/setuptools/dist.py:759:
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a
SPDX license expression:
License :: OSI Approved :: MIT License
See
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
for details.
********************************************************************************
!!
self._finalize_license_expression()
error: [Errno 2] No such file or directory: 'cmake'
hint: This usually indicates a problem with the package or the build
environment.help: samplerate (v0.2.1) was included because pyvideotrans (v3.86)
depends on `samplerate`
Mac m2芯片,这怎么解决
