Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No module named 'einops' #8

Open
shrijayan opened this issue Nov 6, 2023 · 2 comments
Open

No module named 'einops' #8

shrijayan opened this issue Nov 6, 2023 · 2 comments

Comments

@shrijayan
Copy link

ModuleNotFoundError Traceback (most recent call last)
in <cell line: 10>()
8 import IPython
9
---> 10 from tortoise.api import TextToSpeech
11 from tortoise.utils.audio import load_audio, load_voice, load_voices
12

3 frames
/content/LIHQ/tortoise_tts/tortoise/models/xtransformers.py in
6 import torch
7 import torch.nn.functional as F
----> 8 from einops import rearrange, repeat
9 from torch import nn, einsum
10

ModuleNotFoundError: No module named 'einops'

I am facing this issue when I try to install it in Google Colab, In local I was not even able to install requirements.txt.

Which Python version have you used?

@JonnyAlpha
Copy link

I am having the same issue. I have tried a couple of time to generate my own video, but kept getting import errors, the last error being cannot import Iterables from collections. SO I decided to try out the LIHQ Exaple number 1. Setup went ok, but when running the second section 'Generating Audio from Tortoise. I get the no module named einops. I have tried running a code snippet !pip install einops but this results in the following ouput: Requirement already satisfied: einops in /usr/local/lib/python3.10/dist-packages/einops-0.7.0-py3.10.egg (0.7.0)

@mahdialibi
Copy link

I have not tried , but if you install a version of einops before 0.7.0 it may resolve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants