In Google Colab, I am running below lines.
!pip3 install -U scipy!git clone https://github.com/jnordberg/tortoise-tts.git%cd tortoise-tts!pip3 install transformers==4.19.0!pip3 install -r requirements.txt!python3 setup.py installimport torchimport torchaudioimport torch.nn as nnimport torch.nn.functional as Fimport IPythonfrom tortoise.api import TextToSpeech # problem herefrom tortoise.utils.audio import load_audio, load_voice, load_voicestts = TextToSpeech()This line has problem:
from tortoise.api import TextToSpeechThe error message says:
---------------------------------------------------------------------------ModuleNotFoundError Traceback (most recent call last)<ipython-input-4-0f6e1f002713> in <cell line: 9>() 7 import IPython8----> 9 from tortoise.api import TextToSpeech 10 from tortoise.utils.audio import load_audio, load_voice, load_voices113 frames/content/tortoise-tts/tortoise/models/xtransformers.py in <module> 8 from collections import namedtuple9---> 10 from einops import rearrange, repeat, reduce 11 from einops.layers.torch import Rearrange12ModuleNotFoundError: No module named 'einops'---------------------------------------------------------------------------NOTE: If your import is failing due to a missing package, you canmanually install dependencies using either !pip or !apt.To view examples of installing some common dependencies, click the"Open Examples" button below.---------------------------------------------------------------------------I've tried to "!pip3 install einops" and it says "Requirement already satisfied....". But the problem persists.
What went wrong and how can it be corrected?