152334H / tortoise-tts-fast

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

Streamlit issue "ModuleNotFoundError: No module named 'tortoise.inference'" #107

Open iStarpluck opened 1 year ago

iStarpluck commented 1 year ago

Whenever I run streamlit run scripts/app.py I get the error below on my web browser. How do I resolve this?

Traceback:
File "D:\Users\Miner Rebirth\anaconda3\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 552, in _run_script
    exec(code, module.__dict__)
File "C:\Users\Miner Rebirth\tortoise-tts-fast\scripts\app.py", line 9, in <module>
    from tortoise.inference import (
Thisismyaccount432423 commented 1 year ago

Also need help on this except mine says no module named "tortoise.module"

Turbine1991 commented 1 year ago

Also need help on this except mine says no module named "tortoise.module"

This worked for me:

Uninstall tortoise in your pyenv

pip uninstall tortoise

And then run python setup.py install

After this, you'll have your next error. As this project has a few issues they need to fix.