Rust compiler is required on Windows #313
Labels
No Label
bug
duplicate
enhancement
help wanted
insufficient info
invalid
news
not a bug
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrq/ai-voice-cloning#313
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This should probably be mentioned somewhere in the installation instructions. When running the ./setup_cuda.bat script on Windows, the install will yield errors when trying to compile the tokenizers module, which apparently requires the Rust compiler to be manually installed beforehand.
Running it without the Rust compiler will not cause the setup script to fail, but will cause the start.bat script to fail due to the tokenizer module not being installed correctly, in turn causing the tortoise-tts to be missing.
The solution is to install the Rust compiler and both the Python and C++ development workloads from the Visual Studio community installer.
Absolutely disgusting. I'll re-validate the setup on my Windows machine, I'm pretty sure it does not have any compilers to use in the PATH outside of MSYS2/MinGW GCC, and I know Pip absolutely is stubborn about using that anyhow.
If anything, I think I'd have to freeze the tokenizers package from whatever's in my current venv:
tokenizers==0.12.1
.Strange, it (re)installed fine with the setup bat for me (left is my old venv, right is the new one).
Perhaps your pip wasn't able to fetch a precompiled wheel and instead had to compile it?
It does work on windows in python 3.9-3.10, but it crashes on the regular.
I've had to run it entirely on Linux, as it's rocksolid on the same machine.
This is not true. I am running through a Powershell prompt with the venv. It is true I am using the same environment that I generated when I installed tortoise-tts. Were there a few errors and issues I had to debug? Yes, mostly related to installing newer packages.