You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vbnet
Copy
Edit
ERROR: Cannot install -r requirements.txt and fairseq because these package versions have conflicting dependencies.
The conflict is caused by:
fairseq 0.12.2 depends on omegaconf<2.1
hydra-core 1.0.7 depends on omegaconf<2.1 and >=2.0.5
问题分析
omegaconf==2.0.5 和 2.0.6 会被 pip 直接忽略;
导致依赖它们的项目安装失败。
可行的解决方案
降级 pip:
pip install "pip<24.1"
The text was updated successfully, but these errors were encountered:
在使用 pip>=24.1 安装依赖时,omegaconf==2.0.5 和 2.0.6 被 pip 忽略,这两个版本的元数据中包含非法格式的依赖声明:
问题描述
pip 的提示如下:
同时导致依赖 omegaconf<2.1 的包(如 fairseq==0.12.2)无法安装,报错如下:
问题分析
omegaconf==2.0.5 和 2.0.6 会被 pip 直接忽略;
导致依赖它们的项目安装失败。
可行的解决方案
降级 pip:
pip install "pip<24.1"
The text was updated successfully, but these errors were encountered: