Replies: 30 comments 12 replies
-
I had some struggles with pyworld dependency on Windows too. But i found a solution and show how to get it up and running here: Maybe this helps you. |
Beta Was this translation helpful? Give feedback.
-
Hi Thorsten Thanks very much for this. From googling around I wonder if it's a case of needing to run it in a virtual environment running Python 3.8 rather than my default 3.10. I will give that link a try and see how I go. |
Beta Was this translation helpful? Give feedback.
-
I had problems installing it on Windows as well, what I did at the end was using poetry to create a virtual environment with python 3.9, because python 3.10 doesn't seem to work, and then installing the package from git (where pyworld is not a necessary dependency anymore). |
Beta Was this translation helpful? Give feedback.
-
Hi Vuizur. Thanks for this. I'm curious to know if you needed to do anything else beyond installing the git repository inside a 3.8 virtual environment to get it to work. |
Beta Was this translation helpful? Give feedback.
-
No, it worked fine after that (I used 3.9 though). 👍 If you should be stuck at any step, just ask. |
Beta Was this translation helpful? Give feedback.
-
Thanks Vuizur. I've just created a virtual environment running Python v3.9 but no joy currently.
Currently getting below errors. I've also attached full pip install output.
and further down.....
|
Beta Was this translation helpful? Give feedback.
-
What I recommend is installing Poetry, then executing: poetry new tts-test
cd tts-test Then download Python 3.9 (or 3.8) and set poetry's python version to the older version like explained here.
Then run (I wrote this out of memory, so I hope it works). |
Beta Was this translation helpful? Give feedback.
-
Thanks Vuizur. I will give it a try. Prior to running "poetry new tts-test", how should I actually install Poetry on Windows. Would that be the way to go, or is there another way I should be installing it? P.S. I don't suppose it matters, but the specific version of Python v3.9 I installed in the existing virtual environment is v3.9.13 (the highest version of v.39 python.org is offering as an installable at the moment) |
Beta Was this translation helpful? Give feedback.
-
I think the best way is to run the Windoes powershell install command in powershell |
Beta Was this translation helpful? Give feedback.
-
Okay I've installed poetry using the PowerShell command method, added poetry bin directory to PATH variable, tested running "poetry --version" does return the version number of poetry.
|
Beta Was this translation helpful? Give feedback.
-
I think you need the absolute path, which you get with |
Beta Was this translation helpful? Give feedback.
-
Okay. This is what I get:
|
Beta Was this translation helpful? Give feedback.
-
Can you try it with "C:\Program Files\Python39\python.exe" with quote marks? |
Beta Was this translation helpful? Give feedback.
-
Good point! My bad!
|
Beta Was this translation helpful? Give feedback.
-
You need to edit the pyproject.toml to (change 3.10 to 3.9) |
Beta Was this translation helpful? Give feedback.
-
Thank you. Getting further now...
|
Beta Was this translation helpful? Give feedback.
-
Using ">=3.9,<3.11" now and it's download packages |
Beta Was this translation helpful? Give feedback.
-
The packages seemed to install okay, but at the end I'm getting the same kind of error I got when using venv and VS Code:
|
Beta Was this translation helpful? Give feedback.
-
Further up the following sticks out:
|
Beta Was this translation helpful? Give feedback.
-
Have you tried the solution under https://stackoverflow.com/questions/40018405/cannot-open-include-file-io-h-no-such-file-or-directory ? |
Beta Was this translation helpful? Give feedback.
-
No not yet. I will definitely give that a go. Thanks very much for the help Vuizur. Almost here |
Beta Was this translation helpful? Give feedback.
-
Thanks for the issue but w e don't support win and currently we don't intend to. So I move this to the discussions. |
Beta Was this translation helpful? Give feedback.
-
I have fixed the problem that when trying Step 1:download TTS package from Step 2:run Step 3:run Step 4:After installing the Microsoft C++ build tools , run Step 5:run |
Beta Was this translation helpful? Give feedback.
-
came from Microsoft Support team (thanks for them), And is there a way to use this, as i'm confused and don't know any shit about coding and all of that, especially on Windows 11, I also have an issue where i can't install and TTS Packages, If possible can you help me? |
Beta Was this translation helpful? Give feedback.
-
try installing Visual Studio Build Tools 2022 Microsoft C++ Build Tools and make sure you check the box for the "Desktop development with C++" Install option |
Beta Was this translation helpful? Give feedback.
-
doesn't work for python 3.12 since "trainer" is not updated on this python version yet:.( |
Beta Was this translation helpful? Give feedback.
-
If anyone still facing the issue, you need to install Microsoft C++ build tools with Python 3.10. I have tested and it is working fine. |
Beta Was this translation helpful? Give feedback.
-
Our fork now provides prebuilt wheels for Windows, so the C++ Build Tools shouldn't be needed anymore. You can install it with |
Beta Was this translation helpful? Give feedback.
-
I'm still facing this error pip install -r requirements.txt is now also giving error relate to cython "getting requirements to build wheel does not run successfully" |
Beta Was this translation helpful? Give feedback.
-
Solved installation after attempting to install it for 2 days : D
Python 3.10.11
But consider for the moment writing this comment the secret is in Cython==0.29.37, take a close look it is 37, not lower version, lower versions are failing, also higher version after 0.29.37 is is 3.x.x which is also failing |
Beta Was this translation helpful? Give feedback.
-
pip install tts failing on Windows
On Windows, running "pip install tts" fails with below errors in output:
....
Full pip install output:
full-pip-output.txt
I already have the following installed on my machine, so looks like the above error may be misleading?
Microsoft Visual C++ 2015-2022 Redistributable (x64) - 14.31.31103
Microsoft Visual C++ 2015-2022 Redistributable (x86) - 14.30.30704
Attempts made to resolve issue:
I'm now getting error:
To Reproduce
Open command prompt
Type and enter: pip install tts
Expected behavior
TTS should install without error
Logs
No response
Environment
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions