Building wheel for pyopenjtalk (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for pyopenjtalk (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [74 lines of output]
D:\usertemp\pip-build-env-iikskfi1\overlay\Lib\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)
D:\usertemp\pip-build-env-iikskfi1\overlay\Lib\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()
D:\usertemp\pip-build-env-iikskfi1\overlay\Lib\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()
CMake is in the system path. Version: cmake version 4.0.2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-311\pyopenjtalk
copying pyopenjtalk\utils.py -> build\lib.win-amd64-cpython-311\pyopenjtalk
copying pyopenjtalk\version.py -> build\lib.win-amd64-cpython-311\pyopenjtalk
copying pyopenjtalk\__init__.py -> build\lib.win-amd64-cpython-311\pyopenjtalk
running egg_info
writing pyopenjtalk.egg-info\PKG-INFO
writing dependency_links to pyopenjtalk.egg-info\dependency_links.txt
writing requirements to pyopenjtalk.egg-info\requires.txt
writing top-level names to pyopenjtalk.egg-info\top_level.txt
reading manifest file 'pyopenjtalk.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitmodules'
warning: no previously-included files found matching '.travis.yml'
warning: no previously-included files found matching 'tox.ini'
no previously-included directories found matching '.github\*'
no previously-included directories found matching 'docs\**'
adding license file 'LICENSE.md'
writing manifest file 'pyopenjtalk.egg-info\SOURCES.txt'
creating build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice
copying pyopenjtalk\htsvoice\LICENSE_mei_normal.htsvoice -> build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice
copying pyopenjtalk\htsvoice\README.md -> build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice
copying pyopenjtalk\htsvoice\mei_normal.htsvoice -> build\lib.win-amd64-cpython-311\pyopenjtalk\htsvoice
running build_ext
Compiling pyopenjtalk\openjtalk.pyx because it changed.
[1/1] Cythonizing pyopenjtalk\openjtalk.pyx
building 'pyopenjtalk.openjtalk' extension
error: Unable to find a compatible Visual Studio installation.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyopenjtalk
Failed to build pyopenjtalk
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pyopenjtalk)
在已经确保VS的环境配置没有问题以及环境变量配置没有问题的情况下仍然报这个错误,该如何解决