Can't start.bat #457
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#457
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?
After hours of troubleshooting, when I input start.bat, I get this
Traceback (most recent call last):
File ".\src\main.py", line 11, in
from utils import *
File "E:\TorToiSe TTS\ai-voice-cloning\src\utils.py", line 28, in
import torch
File "C:\Users\purpl\AppData\Local\Programs\Python\Python38\lib\site-packages\torch_init_.py", line 451, in
raise ImportError(textwrap.dedent('''
ImportError: Failed to load PyTorch C extensions:
It appears that PyTorch has loaded the
torch/_C
folderof the PyTorch repository rather than the C extensions which
are expected in the
torch._C
namespace. This can occur whenusing the
install
workflow. e.g.$ python setup.py install && python -c "import torch"
As a reference of how much I know about using CMD or Python, I only know that inputing CMD into the navigation bars on file explorers starts at the file and whatever is on ReadMe's.
Try installing Conda and setting up a clean Python 3.9 environment through that.
Installing Python repositories is a huge pain in the neck when you've previously installed other versions of Python, or of Python libraries. Conda takes care of all that for you. It's like using a clean disc image for each different repository. You just need to spend some time learning how to use it.
https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html#managing-python
Follow instructions on Windows, start.bat get show me error:
PS C:\AI_VOICE\PortableGit\ai-voice-cloning> .\start.bat
C:\AI_VOICE\PortableGit\ai-voice-cloning>call .\venv\Scripts\activate.bat
Traceback (most recent call last):
File "C:\AI_VOICE\PortableGit\ai-voice-cloning\src\main.py", line 11, in
from utils import *
File "C:\AI_VOICE\PortableGit\ai-voice-cloning\src\utils.py", line 40, in
from tortoise.api import TextToSpeech as TorToise_TTS, MODELS, get_model_path, pad_or_truncate
File "C:\AI_VOICE\PortableGit\ai-voice-cloning\modules\tortoise-tts\tortoise\api.py", line 21, in
from tortoise.models.clvp import CLVP
File "C:\AI_VOICE\PortableGit\ai-voice-cloning\modules\tortoise-tts\tortoise\models\clvp.py", line 7, in
from tortoise.models.transformer import Transformer
File "C:\AI_VOICE\PortableGit\ai-voice-cloning\modules\tortoise-tts\tortoise\models\transformer.py", line 6, in
from rotary_embedding_torch import RotaryEmbedding, broadcat
ImportError: cannot import name 'broadcat' from 'rotary_embedding_torch' (C:\AI_VOICE\PortableGit\ai-voice-cloning\venv\lib\site-packages\rotary_embedding_torch_init_.py)
I'm having the same issue. Seems Tortoise and DLAS are no longer installed and I had to manually add them in. I then end up with the 'broadcat' error that you have.
I think this repository is dead.