152334H / tortoise-tts-fast

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

Local install instructions are wrong #35

Closed nononouser closed 1 year ago

nononouser commented 1 year ago

ModuleNotFoundError: No module named 'k_diffusion' error when running command for output

Have installed k_diffusion https://github.com/crowsonkb/k-diffusion/ and tested several times with its contents in a different location/in path for reference from command, yet result is the same

nononouser commented 1 year ago

ModuleNotFoundError: No module named 'tortoise.dpm_solver_pytorch'

new one, can confirm the py is in the tortoise folder in tortoise-tts-fast

nononouser commented 1 year ago

think i just need to uninstall and reinstall everything at this point. It said to uninstall tortoise-tts but now tortoise-tts cant be found when running in tortoise-tts-fast. should really layer everything out in better steps, very confusing

nononouser commented 1 year ago

And your python command doesnt work.. really needs revising. will stay away until its fixed

nononouser commented 1 year ago

ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not: importlib-resources>=3.2.0 from https://files.pythonhosted.org/packages/38/71/c13ea695a4393639830bf96baea956538ba7a9d06fcce7cef10bfff20f72/importlib_resources-5.12.0-py3-none-any.whl (from matplotlib==3.7.0->-r requirements.txt (line 488))

more mistakes
nononouser commented 1 year ago

going back to normal ttts

absane commented 1 year ago

Honestly, I was having a chuckle reading this as if you were talking with yourself.

That said, this project works fine, albeit some of the documentation could be improved. But, even then it isn't that difficult to get it running. If you don't place projects into virtual environments (poetry, conda, venv, etc), because you have a habit it of doing pip install and sudo pip install on your main system, you're going to have a bad time. Classic example is librosa and torch problems.

If I were you, I'd clear every Python package/library you have, nuke every installation of Python you have, and start over. Install Miniconda and Poetry. This project is easy to install if you do it within Poetry.

Outside of Poetry, I can't get this to work at all because I have several dependency conflicts that otherwise result in dependency hell. But once I run poetry shell it all works flawlessly.