note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pynini
Running setup.py clean for pynini
Building wheel for cdifflib (pyproject.toml) ... done
Created wheel for cdifflib: filename=cdifflib-1.2.6-cp310-cp310-win_amd64.whl size=13981 sha256=da3bc0b652b8838d794e208ffa558927754821ed54aabba4f0b68c40485babcc
Stored in directory: c:\users\xiasu\appdata\local\pip\cache\wheels\87\a7\fd\8061e24ed08689045cb6d1ca303768dc463b20a5a338174841
Successfully built cdifflib
Failed to build pynini
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini)
Building wheels for collected packages: pynini, cdifflib Building wheel for pynini (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [49 lines of output] running bdist_wheel running build running build_py creating build\lib.win-amd64-cpython-310\pynini copying pynini__init.py -> build\lib.win-amd64-cpython-310\pynini creating build\lib.win-amd64-cpython-310\pywrapfst copying pywrapfst__init__.py -> build\lib.win-amd64-cpython-310\pywrapfst creating build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\case.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\chatspeak.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\chatspeak_model.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\dates.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\g2p.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\numbers.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\plurals.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\t9.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\weather.py -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\examples\init.py -> build\lib.win-amd64-cpython-310\pynini\examples creating build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\export.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\grm.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\grm_example.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\multi_grm.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\multi_grm_example.py -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\export\init.py -> build\lib.win-amd64-cpython-310\pynini\export creating build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\byte.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\edit_transducer.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\features.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\paradigms.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\pynutil.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\rewrite.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\rule_cascade.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\tagger.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\utf8.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\lib\init.py -> build\lib.win-amd64-cpython-310\pynini\lib copying pynini\init.pyi -> build\lib.win-amd64-cpython-310\pynini copying pynini\py.typed -> build\lib.win-amd64-cpython-310\pynini copying pywrapfst\init__.pyi -> build\lib.win-amd64-cpython-310\pywrapfst copying pywrapfst\py.typed -> build\lib.win-amd64-cpython-310\pywrapfst copying pynini\examples\py.typed -> build\lib.win-amd64-cpython-310\pynini\examples copying pynini\export\py.typed -> build\lib.win-amd64-cpython-310\pynini\export copying pynini\lib\py.typed -> build\lib.win-amd64-cpython-310\pynini\lib running build_ext building '_pywrapfst' extension creating build\temp.win-amd64-cpython-310\Release\extensions "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\xiasu\anaconda3\envs\cosyvoice\include -IC:\Users\xiasu\anaconda3\envs\cosyvoice\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\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 /Tpextensions/_pywrapfst.cpp /Fobuild\temp.win-amd64-cpython-310\Release\extensions/_pywrapfst.obj -std=c++17 -Wno-register -Wno-deprecated-declarations -Wno-unused-function -Wno-unused-local-typedefs -funsigned-char cl: 命令行 error D8021 :无效的数值参数“/Wno-register” error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pynini Running setup.py clean for pynini Building wheel for cdifflib (pyproject.toml) ... done Created wheel for cdifflib: filename=cdifflib-1.2.6-cp310-cp310-win_amd64.whl size=13981 sha256=da3bc0b652b8838d794e208ffa558927754821ed54aabba4f0b68c40485babcc Stored in directory: c:\users\xiasu\appdata\local\pip\cache\wheels\87\a7\fd\8061e24ed08689045cb6d1ca303768dc463b20a5a338174841 Successfully built cdifflib Failed to build pynini ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini)