Windows10 conda安装pytorch

1.查看版本

我的电脑操作系统为win10,Cuda版本为10.1,python版本为3.7

https://pytorch.org/get-started/previous-versions/

Windows10 conda安装pytorch_第1张图片

 2.conda命令安装

报错,查了很多资料都没有解决

Windows10 conda安装pytorch_第2张图片

 3.使用pip命令安装

Windows10 conda安装pytorch_第3张图片

依然报错:

Windows10 conda安装pytorch_第4张图片

 查了很多资料,依然没有解决

4.最后在(https://download.pytorch.org/whl/torch_stable.html)上下载对应的包,安装成功

cu101对应cuda10.1

Windows10 conda安装pytorch_第5张图片

Windows10 conda安装pytorch_第6张图片

Windows10 conda安装pytorch_第7张图片

 几个错误:

PackagesNotFoundError: The following packages are not available from current channels:

CondaHTTPError: HTTP 000 CONNECTION FAILED for url

WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.

 

 

你可能感兴趣的:(pytorch,cuda,anaconda,pip,python)