152334H / tortoise-tts-fast

Fast TorToiSe inference (5x or your money back!)
GNU Affero General Public License v3.0
759 stars 177 forks source link

Install Failure with Error Message Not Seen Here #72

Open TankMan649 opened 1 year ago

TankMan649 commented 1 year ago

So I am posting the error message because it seems like I am not the only one who has had issues installing this. However, what I haven't seen is my specific error message mentioned. This is what I am getting:

TypeError: Descriptors cannot not be created directly. If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0. If you cannot immediately regenerate your protos, some other possible workarounds are:

  1. Downgrade the protobuf package to 3.20.x or lower.
  2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

Just as an FYI, I am running Debian 11 so the solutions for Windows did not really help but thanks as it did help in some ways. Thanks.

JoaCHIP commented 1 year ago

No, you're not the only one who's having issues installing this.

Yesterday I spent over four hours trying to install this (and various possible dependencies) on Windows and a 3070 rtx card. I never got it to recognize Cuda. My biggest success was making it run on one single CPU core - which was of course rather slow.

My impression is that you need an intricate knowledge of how python development environments and python-specific package managers are working. Add to that a knowledge of Cuda development.

I wish there were either a much more fail-safe and complete install guide, or a precompiled binary installer for each OS. Like a good old "setup.exe" for Windows.