你不是很确信地说:官方发布说明:PyTorch 1.6 Release Notes 明确要求CUDA 10.2
包元数据检查:torchvision-0.7.0的requires字段包含cudatoolkit >=10.2,<11
然而,当我输出conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch -y
这条指令后,系统反馈:
(E:\VSCodeVenv\hovernet) E:\VSCodeProjects>conda install pytorch==1.6.0 torchvision==0.7.0 cudatoolkit=10.2 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch -y
3 channel Terms of Service accepted
Channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
- defaults
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed
LibMambaUnsatisfiableError: Encountered problems while solving:
- package torchvision-0.7.0-py36_cu101 requires cudatoolkit >=10.1,<10.2, but none of the providers can be installed
Could not solve for environment specs
The following packages are incompatible
├─ cudatoolkit =10.2 * is requested and can be installed;
├─ openslide =* * is installable and it requires
│ ├─ cairo >=1.18.4,<2.0a0 *, which requires
│ │ ├─ fontconfig >=2.15.0,<3.0a0 * with the potential options
│ │ │ ├─ fontconfig 2.15.0 would require
│ │ │ │ └─ freetype >=2.12.1,<3.0a0 * with the potential options
│ │ │ │ ├─ freetype [2.12.1|2.13.3], which can be installed;
│ │ │ │ └─ freetype 2.13.3 would require
│ │ │ │ └─ libfreetype6 ==2.13.3 h0b5ce68_1, which requires
│ │ │ │ └─ freetype >=2.13.3 *, which can be installed;
│ │ │ └─ fontconfig 2.15.0 would require
│ │ │ ├─ freetype >=2.12.1,<3.0a0 * with the potential options
│ │ │ │ ├─ freetype [2.12.1|2.13.3], which can be installed;
│ │ │ │ └─ freetype 2.13.3, which can be installed (as previously explained);
│ │ │ └─ vc >=14.2,<15 *, which can be installed;
│ │ ├─ freetype >=2.12.1,<3.0a0 * with the potential options
│ │ │ ├─ freetype [2.12.1|2.13.3], which can be installed;
│ │ │ └─ freetype 2.13.3, which can be installed (as previously explained);
│ │ └─ libglib >=2.82.2,<3.0a0 *, which requires
│ │ └─ pcre2 [>=10.42,<10.43.0a0 *|>=10.44,<10.45.0a0 *|>=10.45,<10.46.0a0 *], which requires
│ │ └─ bzip2 >=1.0.8,<2.0a0 *, which can be installed;
│ ├─ gdk-pixbuf >=2.42.12,<3.0a0 * with the potential options
│ │ ├─ gdk-pixbuf 2.42.12 would require
│ │ │ └─ libtiff >=4.6.0,<4.8.0a0 * with the potential options
│ │ │ ├─ libtiff [4.6.0|4.7.0] would require
│ │ │ │ └─ lerc >=4.0.0,<5.0a0 * with the potential options
│ │ │ │ ├─ lerc 4.0.0, which can be installed;
│ │ │ │ └─ lerc 4.0.0 would require
│ │ │ │ └─ vc >=14.2,<15.0a0 *, which can be installed;
│ │ │ └─ libtiff 4.7.0 conflicts with any installable versions previously reported;
│ │ └─ gdk-pixbuf 2.42.12 would require
│ │ ├─ libjpeg-turbo >=3.1.0,<4.0a0 *, which requires
│ │ │ └─ jpeg <0.0.0a *, which can be installed;
│ │ ├─ libtiff >=4.7.0,<4.8.0a0 * with the potential options
│ │ │ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ │ │ └─ libtiff 4.7.0 conflicts with any installable versions previously reported;
│ │ └─ vc >=14.3,<15 *, which can be installed;
│ ├─ libglib >=2.84.3,<3.0a0 *, which can be installed (as previously explained);
│ ├─ libjpeg-turbo >=3.1.0,<4.0a0 *, which can be installed (as previously explained);
│ └─ libtiff >=4.7.0,<4.8.0a0 * with the potential options
│ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ └─ libtiff 4.7.0 conflicts with any installable versions previously reported;
├─ pin on python 3.6.* =* * is installable and it requires
│ └─ python =3.6 *, which can be installed;
└─ torchvision ==0.7.0 * is not installable because there are no viable options
├─ torchvision 0.7.0 would require
│ └─ cudatoolkit >=10.1,<10.2 *, which conflicts with any installable versions previously reported;
├─ torchvision 0.7.0 would require
│ └─ pillow >=4.1.1 * but there are no viable options
│ ├─ pillow [10.0.0|10.0.1|...|9.5.0] would require
│ │ └─ python >=3.10,<3.11.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ pillow [10.0.0|10.0.1|...|9.5.0] would require
│ │ └─ python >=3.11,<3.12.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ pillow [10.0.0|10.0.1|...|9.5.0] would require
│ │ └─ python >=3.8,<3.9.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ pillow [10.0.0|10.0.1|...|9.5.0] would require
│ │ └─ python >=3.9,<3.10.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ pillow [10.0.1|10.1.0|...|11.3.0] would require
│ │ └─ python [>=3.12,<3.13.0a0 *|>=3.12.0rc3,<3.13.0a0 *], which conflicts with any installable versions previously reported;
│ ├─ pillow [10.4.0|11.0.0|11.1.0|11.2.1|11.3.0] would require
│ │ └─ python [>=3.13,<3.14.0a0 *|>=3.13.0rc2,<3.14.0a0 *], which conflicts with any installable versions previously reported;
│ ├─ pillow [4.1.1|4.2.0|...|6.2.1] would require
│ │ └─ python [=2.7 *|>=2.7,<2.8.0a0 *], which conflicts with any installable versions previously reported;
│ ├─ pillow [4.1.1|4.2.0|...|5.3.0] would require
│ │ └─ python [=3.5 *|>=3.5,<3.6.0a0 *], which conflicts with any installable versions previously reported;
│ ├─ pillow [4.1.1|4.2.0|4.2.1] would require
│ │ ├─ freetype ==2.7|=2.7 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg =9 *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff =4.0 *, which can be installed;
│ ├─ pillow [4.2.1|4.3.0] would require
│ │ ├─ freetype ==2.7 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg =9 *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.3,<4.0.8 *, which can be installed;
│ ├─ pillow [4.3.0|5.0.0] would require
│ │ ├─ freetype =2.8 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg =9 *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.8,<4.0.10 *, which can be installed;
│ ├─ pillow [5.1.0|5.2.0] would require
│ │ ├─ freetype [=2.8.1 *|==2.8.1 *], which conflicts with any installable versions previously reported;
│ │ ├─ jpeg =9 *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.8,<4.0.10 *, which can be installed;
│ ├─ pillow 5.2.0 would require
│ │ ├─ freetype >=2.8.1,<2.9.0a0 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg >=9c,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.9,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0 would require
│ │ │ └─ lerc >=2.2.1,<3.0a0 *, which conflicts with any installable versions previously reported;
│ │ ├─ libtiff 4.3.0 would require
│ │ │ └─ lerc >=3.0,<4.0a0 *, which conflicts with any installable versions previously reported;
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.0.9, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [5.2.0|5.3.0|...|6.1.0] would require
│ │ ├─ jpeg >=9c,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.9,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.0.9, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [5.1.0|5.2.0|...|9.4.0] would require
│ │ └─ python >=3.7,<3.8.0a0 *, which conflicts with any installable versions previously reported;
│ ├─ pillow [6.1.0|6.2.0|...|7.1.2] would require
│ │ ├─ jpeg >=9c,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.10,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [6.2.1|7.0.0|7.1.1|7.1.2] would require
│ │ ├─ jpeg >=9c,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.1.0,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [6.2.2|7.2.0|8.0.0|8.0.1|8.1.0] would require
│ │ ├─ jpeg >=9d,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.1.0,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [6.2.2|7.2.0|8.0.0|8.0.1|8.1.0] would require
│ │ ├─ jpeg >=9d,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.10,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [8.1.0|8.1.1|8.1.2|8.2.0] would require
│ │ ├─ jpeg >=9d,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.2.0,<4.4.0a0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ └─ libtiff 4.2.0, which can be installed;
│ ├─ pillow [8.3.0|8.3.1|8.3.2] would require
│ │ ├─ jpeg >=9d,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.3.0,<4.4.0a0 *, which cannot be installed (as previously explained);
│ ├─ pillow [4.1.1|4.2.0|4.2.1] would require
│ │ ├─ bzip2 ==1.0.6 * but there are no viable options
│ │ │ ├─ bzip2 1.0.6 conflicts with any installable versions previously reported;
│ │ │ └─ bzip2 1.0.6 would require
│ │ │ └─ vc ==10 *, which conflicts with any installable versions previously reported;
│ │ ├─ freetype =2.5 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg =9 *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff =4.0 *, which can be installed;
│ ├─ pillow 4.2.1 would require
│ │ ├─ freetype >=2.8,<2.9.0a0 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg >=9b,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.8,<4.7.0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.0.9, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ ├─ libtiff 4.2.0, which can be installed;
│ │ ├─ libtiff [4.4.0|4.5.0|4.5.1], which can be installed;
│ │ └─ libtiff 4.0.8, which can be installed;
│ ├─ pillow [4.3.0|5.0.0|5.1.0] would require
│ │ ├─ freetype >=2.8,<2.9.0a0 *, which conflicts with any installable versions previously reported;
│ │ ├─ jpeg >=9b,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.9,<4.7.0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.0.9, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ ├─ libtiff 4.2.0, which can be installed;
│ │ └─ libtiff [4.4.0|4.5.0|4.5.1], which can be installed;
│ ├─ pillow [5.1.0|5.2.0|5.3.0|5.4.1] would require
│ │ ├─ jpeg >=9b,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.9,<4.7.0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.0.9, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ ├─ libtiff 4.2.0, which can be installed;
│ │ └─ libtiff [4.4.0|4.5.0|4.5.1], which can be installed;
│ ├─ pillow [6.0.0|6.1.0|6.2.0|6.2.1] would require
│ │ ├─ jpeg >=9b,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.0.10,<4.7.0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ │ ├─ libtiff 4.0.10, which can be installed;
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ ├─ libtiff 4.2.0, which can be installed;
│ │ └─ libtiff [4.4.0|4.5.0|4.5.1], which can be installed;
│ ├─ pillow [7.0.0|7.1.2|7.2.0] would require
│ │ ├─ jpeg >=9b,<10a *, which conflicts with any installable versions previously reported;
│ │ └─ libtiff >=4.1.0,<4.7.0 * with the potential options
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ │ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ │ ├─ libtiff 4.1.0, which can be installed;
│ │ ├─ libtiff 4.2.0, which can be installed;
│ │ └─ libtiff [4.4.0|4.5.0|4.5.1], which can be installed;
│ └─ pillow [8.0.0|8.0.1|...|8.3.1] would require
│ ├─ jpeg =* *, which conflicts with any installable versions previously reported;
│ └─ libtiff >=4.1.0,<4.7.0 * with the potential options
│ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ ├─ libtiff 4.3.0, which cannot be installed (as previously explained);
│ ├─ libtiff [4.6.0|4.7.0], which can be installed (as previously explained);
│ ├─ libtiff 4.1.0, which can be installed;
│ ├─ libtiff 4.2.0, which can be installed;
│ └─ libtiff [4.4.0|4.5.0|4.5.1], which can be installed;
├─ torchvision 0.7.0 would require
│ └─ python >=3.7,<3.8.0a0 *, which conflicts with any installable versions previously reported;
└─ torchvision 0.7.0 would require
└─ python >=3.8,<3.9.0a0 *, which conflicts with any installable versions previously reported.
Pins seem to be involved in the conflict. Currently pinned specs:
- python=3.6
你如何解决仍然存在的问题,仔细思考
最新发布