尝试在 Ubuntu 18.04 上通过 conda 安装 torch 时,我得到:
Package pytorch-mutex conflicts for:
cpuonly -> pytorch-mutex==1.0=cpu
torchvision -> pytorch-mutex==1.0[build='cuda|cpu']The following specifications were found to be incompatible with your system:
- feature:/linux-64::__glibc==2.27=0
- feature:|@/linux-64::__glibc==2.27=0
- pytorch==1.4 -> libgcc-ng[version='>=7.3.0'] -> __glibc[version='>=2.17']
- torchvision -> __glibc[version='>=2.17,<3.0.a0']
- torchvision -> libgcc-ng[version='>=11.2.0'] -> __glibc[version='>=2.17']
Your installed version is: 2.27
glibc 版本 (2.27) 似乎符合所有列出的约束。安装中提到的冲突是什么?