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

路径错误 #8

Open
assassinliujie opened this issue Jun 21, 2024 · 1 comment
Open

路径错误 #8

assassinliujie opened this issue Jun 21, 2024 · 1 comment

Comments

@assassinliujie
Copy link

一直报错
Traceback (most recent call last):
File "/root/hallo-webui/scripts/inference.py", line 40, in
from hallo.animate.face_animate import FaceAnimatePipeline
ModuleNotFoundError: No module named 'hallo.animate'
测试发现在scripts下无法导入,根目录下正常导入。
后发现是应该将inference.py从scripts目录中移出,然后修改app.py中相关路径即可正常工作。请问是bug还是我环境安装时出错

@Dazvby
Copy link

Dazvby commented Sep 27, 2024

我也遇到了类似问题,与您不同的是整个hallo的module不存在,报错如下:
426c6766b12a1a7b74f5c13dd5e5022
我尝试在虚拟环境venv中pip install hallo,安装成功,但无效仍然报错
之后安装您的方法移动、修改app.py中相关inference.py的两个路径之后错误解决,可以生成视频,但命令行报新的错误No module named ‘triton’,具体信息如下:
caca963f279fd64e99c6484378d7ea6
不知您是否有相同情况?

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

2 participants