Building wheel for pynini (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pynini (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [105 lines of output]
      C:\Users\DjZaN\AppData\Local\Temp\pip-build-env-ea9wdcc0\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)
      C:\Users\DjZaN\AppData\Local\Temp\pip-build-env-ea9wdcc0\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 :: Apache Software License

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        dist._finalize_license_expression()
      C:\Users\DjZaN\AppData\Local\Temp\pip-build-env-ea9wdcc0\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 :: Apache Software License

              See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
              ********************************************************************************

      !!
        self._finalize_license_expression()
      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\stringfile.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
      running egg_info
      writing pynini.egg-info\PKG-INFO
      writing dependency_links to pynini.egg-info\dependency_links.txt
      writing top-level names to pynini.egg-info\top_level.txt
      reading manifest file 'pynini.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      adding license file 'AUTHORS'
      writing manifest file 'pynini.egg-info\SOURCES.txt'
      copying pynini\BUILD.bazel -> build\lib.win-amd64-cpython-310\pynini
      copying pynini\__init__.pyi -> build\lib.win-amd64-cpython-310\pynini
      copying pynini\py.typed -> build\lib.win-amd64-cpython-310\pynini
      copying pywrapfst\BUILD.bazel -> build\lib.win-amd64-cpython-310\pywrapfst
      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\BUILD.bazel -> build\lib.win-amd64-cpython-310\pynini\examples
      copying pynini\examples\py.typed -> build\lib.win-amd64-cpython-310\pynini\examples
      copying pynini\export\BUILD.bazel -> build\lib.win-amd64-cpython-310\pynini\export
      copying pynini\export\grm_py_build_defs.bzl -> build\lib.win-amd64-cpython-310\pynini\export
      copying pynini\export\py.typed -> build\lib.win-amd64-cpython-310\pynini\export
      copying pynini\lib\BUILD.bazel -> build\lib.win-amd64-cpython-310\pynini\lib
      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 (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.43.34808\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\DjZaN\miniconda3\envs\MegaTTS\include -IC:\Users\DjZaN\miniconda3\envs\MegaTTS\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.43.34808\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\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" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /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 : Command line error D8021 : invalid numeric argument '/Wno-register'
      error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.43.34808\\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
Successfully built langdetect openai-whisper
Failed to build pynini
ERROR: Failed to build installable wheels for some pyproject.toml based projects (pynini)

(MegaTTS) E:\MegaTTS3-Voice-Cloning>