Ikaros-521 / AI-Vtuber

AI Vtuber是一个由 【ChatterBot/ChatGPT/claude/langchain/chatglm/text-gen-webui/闻达/千问/kimi/ollama】 驱动的虚拟主播【Live2D/UE/xuniren】,可以在 【Bilibili/抖音/快手/微信视频号/拼多多/斗鱼/YouTube/twitch/TikTok】 直播中与观众实时互动 或 直接在本地进行聊天。它使用TTS技术【edge-tts/VITS/elevenlabs/bark/bert-vits2/睿声】生成回答并可以选择【so-vits-svc/DDSP-SVC】变声;指令协同SD画图。
https://ikaros-521.github.io/Luna-Docs/site/
GNU General Public License v3.0
2.8k stars 430 forks source link

🙋 问题交流 安装依赖时出错 #945

Closed ssomoss closed 1 month ago

ssomoss commented 1 month ago

操作系统

Windows

Python 版本

Python 3.10.10

AI Vtuber 版本

20240418

描述问题

ERROR: Cannot install -r requirements.txt (line 37) and -r requirements.txt (line 70) because these package versions have conflicting dependencies.

The conflict is caused by: langchain 0.0.142 depends on pydantic<2 and >=1 gradio 4.16.0 depends on pydantic>=2.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

复现步骤

ERROR: Cannot install -r requirements.txt (line 37) and -r requirements.txt (line 70) because these package versions have conflicting dependencies.

The conflict is caused by: langchain 0.0.142 depends on pydantic<2 and >=1 gradio 4.16.0 depends on pydantic>=2.0

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

期望的结果

No response

截图或日志

No response

Ikaros-521 commented 1 month ago

参考:https://github.com/Ikaros-521/AI-Vtuber/issues/655 或者使用 uv https://github.com/Ikaros-521/AI-Vtuber/pull/950