No module named 'tortoise.api' #290
Labels
No Label
bug
duplicate
enhancement
help wanted
insufficient info
invalid
news
not a bug
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: mrq/ai-voice-cloning#290
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?
File "C:??????????????????\ai-voice-cloning\src\utils.py", line 40, in
from tortoise.api import TextToSpeech as TorToise_TTS, MODELS, get_model_path, pad_or_truncate
ModuleNotFoundError: No module named 'tortoise.api'
Appuyez sur une touche pour continuer...
(venv) PS C:??????????????????\ai-voice-cloning> pip install tortoise.api
ERROR: Could not find a version that satisfies the requirement tortoise.api (from versions: none)
ERROR: No matching distribution found for tortoise.api
Did you run the appropriate setup script for your platform?
On Windows:
Something is wrong with the virtual environment or too new Python version. Also ensure no python related environment variables are set to a specific path.
That package is internally supplied and cannot be installed through PIP.
On Linux:
The issue is likely because your Python version is too new, and one of the depencies errors upon installing if you scroll up.
To fix:
Now go into the folder you cloned:
No more missing tortoise or tortoise.api, as we made it use 3.9.17 instead of the version of Python you have installed.