I am not able to install the TTS repo on windows at all due to this “wheel build get requires command” get_requires_for_build_wheel
:
Obtaining file:///C:/Users/avaer/Documents/GitHub/TTS
Installing build dependencies ... done
Getting requirements to build wheel ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\avaer\appdata\local\programs\python\python38\python.exe' 'c:\users\avaer\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\avaer\AppData\Local\Temp\tmpq4vwb0gy'
cwd: C:\Users\avaer\Documents\GitHub\TTS
Complete output (24 lines):
Traceback (most recent call last):
File "c:\users\avaer\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 280, in <module>
main()
File "c:\users\avaer\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "c:\users\avaer\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py", line 114, in get_requires_for_build_wheel
return hook(config_settings)
File "C:\Users\avaer\AppData\Local\Temp\pip-build-env-t8zjemnu\overlay\Lib\site-packages\setuptools\build_meta.py", line 154, in get_requires_for_build_wheel
return self._get_build_requires(
File "C:\Users\avaer\AppData\Local\Temp\pip-build-env-t8zjemnu\overlay\Lib\site-packages\setuptools\build_meta.py", line 135, in _get_build_requires
self.run_setup()
File "C:\Users\avaer\AppData\Local\Temp\pip-build-env-t8zjemnu\overlay\Lib\site-packages\setuptools\build_meta.py", line 258, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\avaer\AppData\Local\Temp\pip-build-env-t8zjemnu\overlay\Lib\site-packages\setuptools\build_meta.py", line 150, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 9, in <module>
import numpy
File "C:\Users\avaer\AppData\Local\Temp\pip-build-env-t8zjemnu\overlay\Lib\site-packages\numpy\__init__.py", line 140, in <module>
from . import _distributor_init
File "C:\Users\avaer\AppData\Local\Temp\pip-build-env-t8zjemnu\overlay\Lib\site-packages\numpy\_distributor_init.py", line 26, in <module>
WinDLL(os.path.abspath(filename))
File "c:\users\avaer\appdata\local\programs\python\python38\lib\ctypes\__init__.py", line 373, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 193] %1 is not a valid Win32 application
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\avaer\appdata\local\programs\python\python38\python.exe' 'c:\users\avaer\appdata\local\programs\python\python38\lib\site-packages\pip\_vendor\pep517\_in_process.py' get_requires_for_build_wheel 'C:\Users\avaer\AppData\Local\Temp\tmpq4vwb0gy' Check the logs for full command output.
WARNING: You are using pip version 20.2.3; however, version 21.1.2 is available.
You should consider upgrading via the 'c:\users\avaer\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip' command.
Apparently that is because this repo does not work with the latest Python? https://github.com/mozilla/TTS/issues/694
I tried the fork in that issue but it has the same problem.
Is there a known workaround on Windows?
Python 3.8.9
C:\Users\avaer\Documents\GitHub\TTS>pip --version
pip 20.2.3 from c:\users\avaer\appdata\local\programs\python\python38\lib\site-packages\pip (python 3.8)```