-
Notifications
You must be signed in to change notification settings - Fork 485
Description
I am getting this error on windows11 and using python 3.11
Building wheels for collected packages: parler_tts, melotts, fugashi, useful-moonshine, descript-audiotools
Building wheel for parler_tts (pyproject.toml) ... done
Created wheel for parler_tts: filename=parler_tts-0.2.2-py3-none-any.whl size=82081 sha256=18b787453c53b06fdb66c9b67993d23f4ce4f606130148751dc8dc8772f5c4db
Stored in directory: C:\Users\mslch\AppData\Local\Temp\pip-ephem-wheel-cache-3ptlenh3\wheels\e6\eb\5e\2447cc16a6b58f6ecf2b1c4aafe0bfe3ab6541fc9edf282ed0
Building wheel for melotts (pyproject.toml) ... done
Created wheel for melotts: filename=melotts-0.1.2-py3-none-any.whl size=4782413 sha256=11aa1be6d3bf571f791344d302801ed5e3862115b60c3ddd1bad573bbc4f47e5
Stored in directory: C:\Users\mslch\AppData\Local\Temp\pip-ephem-wheel-cache-3ptlenh3\wheels\a0\6e\2e\d9b51e72f421b2c3176947b6b4167a5b603cf4fecda813d3a2
Building wheel for fugashi (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for fugashi (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [33 lines of output]
WARNING setuptools_scm.pyproject_reading toml section missing 'pyproject.toml does not contain a tool.setuptools_scm section'
Traceback (most recent call last):
File "C:\Users\mslch\AppData\Local\Temp\pip-build-env-rfouluqd\normal\Lib\site-packages\setuptools_scm_integration\pyproject_reading.py", line 36, in read_pyproject
section = defn.get("tool", {})[tool_name]
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'setuptools_scm'
C:\Users\mslch\AppData\Local\Temp\pip-build-env-rfouluqd\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()
running bdist_wheel
running build
running build_py
creating build\lib.win-amd64-cpython-312\fugashi
copying fugashi\cli.py -> build\lib.win-amd64-cpython-312\fugashi
copying fugashi\__init__.py -> build\lib.win-amd64-cpython-312\fugashi
running build_ext
cythoning fugashi/fugashi.pyx to fugashi\fugashi.c
building 'fugashi.fugashi' extension
creating build\temp.win-amd64-cpython-312\Release\fugashi
"C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\mecab -IC:\Users\mslch\anaconda3\include -IC:\Users\mslch\anaconda3\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.44.35207\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.22000.0\\cppwinrt" /Tcfugashi\fugashi.c /Fobuild\temp.win-amd64-cpython-312\Release\fugashi\fugashi.obj
fugashi.c
fugashi\fugashi.c(750): fatal error C1083: Cannot open include file: 'mecab.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.44.35207\\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 fugashi
Building wheel for useful-moonshine (pyproject.toml) ... done
Created wheel for useful-moonshine: filename=useful_moonshine-20241016-py3-none-any.whl size=736658 sha256=ad2ad5732b14095c66f7d43eb6195b77726733ca0717022a5b68a1245d859a11
Stored in directory: C:\Users\mslch\AppData\Local\Temp\pip-ephem-wheel-cache-3ptlenh3\wheels\e8\b4\a6\caf62f35cfb2b66191e367388909c41c86c6cf2f101d3cc4dc
Building wheel for descript-audiotools (pyproject.toml) ... done
Created wheel for descript-audiotools: filename=descript_audiotools-0.7.4-py2.py3-none-any.whl size=108686 sha256=4fb1423840884b31399911999b3d331827f3517b97ef473c5c5e3aea91cfa70e
Stored in directory: C:\Users\mslch\AppData\Local\Temp\pip-ephem-wheel-cache-3ptlenh3\wheels\bf\1e\30\93b75454fc70239205b50cb1ea6c3f1bb3b853754432fdcfda
Successfully built parler_tts melotts useful-moonshine descript-audiotools
Failed to build fugashi
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (fugashi)