在anaconda prompt输入conda install pytorch torchvision cudatoolkit=10.0后再输入y后
输出错误如下:
Downloading and Extracting Packages
certifi-2022.9.24 | 158 KB | | 0%
openssl-1.1.1q | 5.7 MB | | 0%
pycurl-7.45.1 | 74 KB | | 0%
torchvision-0.11.3 | 7.1 MB | | 0%
numpy-base-1.21.5 | 5.6 MB | | 0%
libuv-1.40.0 | 332 KB | | 0%
pytorch-1.10.2 | 200.0 MB | | 0%
libcurl-7.82.0 | 312 KB | | 0%
libssh2-1.10.0 | 226 KB | | 0%
cryptography-3.3.2 | 600 KB | | 0%
ninja-1.10.2 | 13 KB | | 0%
ninja-base-1.10.2 | 284 KB | | 0%
conda-22.9.0 | 979 KB | | 0%
conda-package-handli | 797 KB | | 0%
curl-7.82.0 | 145 KB | | 0%
libpng-1.6.37 | 598 KB | | 0%
qt-5.9.7 | 92.3 MB | | 0%
vc-14.2 | 8 KB | | 0%
mkl-2021.4.0 | 181.6 MB | | 0%
pillow-9.2.0 | 1.0 MB | | 0%
typing-extensions-4. | 8 KB | | 0%
requests-2.28.1 | 100 KB | | 0%
intel-openmp-2021.4. | 3.2 MB | | 0%
charset-normalizer-2 | 33 KB | | 0%
typing_extensions-4. | 43 KB | | 0%
cudatoolkit-10.0.130 | 371.0 MB | | 0%
libwebp-base-1.2.4 | 327 KB | | 0%
libwebp-1.2.4 | 76 KB | | 0%
vs2015_runtime-14.27 | 2.2 MB | | 0%
future-0.18.2 | 746 KB | | 0%
mkl-service-2.4.0 | 55 KB | | 0%
numpy-1.21.5 | 24 KB | | 0%
sqlite-3.39.3 | 1.2 MB | | 0%
ca-certificates-2022 | 162 KB | | 0%
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/certifi-2022.9.24-py37haa95532_0.tar.bz2
Elapsed: 00:00.872644
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/openssl-1.1.1q-h2bbff1b_0.tar.bz2
Elapsed: 00:00.547472
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/pycurl-7.45.1-py37hcd4344a_0.tar.bz2
Elapsed: 00:00.876439
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/torchvision-0.11.3-cpu_py37h378ed51_2.tar.bz2
Elapsed: 00:00.842787
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/numpy-base-1.21.5-py37hca35cd5_3.tar.bz2
Elapsed: 00:00.865637
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/libuv-1.40.0-he774522_0.tar.bz2
Elapsed: 00:00.833599
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/pytorch-1.10.2-cpu_py37h907fbb5_0.tar.bz2
Elapsed: 00:00.490420
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/libcurl-7.82.0-h86230a5_0.tar.bz2
Elapsed: 00:00.711200
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/libssh2-1.10.0-hcd4344a_0.tar.bz2
Elapsed: 00:00.706228
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/cryptography-3.3.2-py37hcd4344a_0.tar.bz2
Elapsed: 00:00.724896
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/ninja-1.10.2-haa95532_5.tar.bz2
Elapsed: 00:01.466304
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/ninja-base-1.10.2-h6d14046_5.tar.bz2
Elapsed: 00:00.549602
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/conda-22.9.0-py37haa95532_0.tar.bz2
Elapsed: 00:00.700476
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/conda-package-handling-1.9.0-py37h8cc25b3_0.tar.bz2
Elapsed: 00:00.729294
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/curl-7.82.0-h2bbff1b_0.tar.bz2
Elapsed: 00:00.788258
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/libpng-1.6.37-h2a8f88b_0.tar.bz2
Elapsed: 00:01.218688
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/qt-5.9.7-vc14h73c81de_0.tar.bz2
Elapsed: 00:01.524044
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/vc-14.2-h21ff451_1.tar.bz2
Elapsed: 00:00.761898
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/mkl-2021.4.0-haa95532_640.tar.bz2
Elapsed: 00:01.266584
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/pillow-9.2.0-py37hdc2b20a_1.tar.bz2
Elapsed: 00:00.608760
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/typing-extensions-4.3.0-py37haa95532_0.tar.bz2
Elapsed: 00:00.406257
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/requests-2.28.1-py37haa95532_0.tar.bz2
Elapsed: 00:00.292170
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/intel-openmp-2021.4.0-haa95532_3556.tar.bz2
Elapsed: 00:01.011648
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch/charset-normalizer-2.0.4-pyhd3eb1b0_0.tar.bz2
Elapsed: 00:00.902610
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/typing_extensions-4.3.0-py37haa95532_0.tar.bz2
Elapsed: 00:01.147141
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/cudatoolkit-10.0.130-0.tar.bz2
Elapsed: 00:00.518265
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/libwebp-base-1.2.4-h2bbff1b_0.tar.bz2
Elapsed: 00:00.378246
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/libwebp-1.2.4-h2bbff1b_0.tar.bz2
Elapsed: 00:00.717270
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/vs2015_runtime-14.27.29016-h5e58377_2.tar.bz2
Elapsed: 00:00.583933
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/future-0.18.2-py37_1.tar.bz2
Elapsed: 00:00.295780
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/mkl-service-2.4.0-py37h2bbff1b_0.tar.bz2
Elapsed: 00:00.438503
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/numpy-1.21.5-py37h7a0a035_3.tar.bz2
Elapsed: 00:00.656297
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/sqlite-3.39.3-h2bbff1b_0.tar.bz2
Elapsed: 00:00.540108
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
CondaHTTPError: HTTP 403 FORBIDDEN for url http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/win-64/ca-certificates-2022.07.19-haa95532_0.tar.bz2
Elapsed: 00:00.665832
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
你安装的这几个,windows下面很容易出现超时或者http错误的,原因就是安装包太大。比较建议的是去官网使用迅雷下载到本地安装
cuda比较建议安装在系统里面而不是conda虚拟环境中。另外,cuda10.0的好说不是很匹配,现在基本上都是11.x了,最少一般也是10.2的。