1.查看版本
我的电脑操作系统为win10,Cuda版本为10.1,python版本为3.7
https://pytorch.org/get-started/previous-versions/
2.conda命令安装
报错,查了很多资料都没有解决
3.使用pip命令安装
依然报错:
查了很多资料,依然没有解决
4.最后在(https://download.pytorch.org/whl/torch_stable.html)上下载对应的包,安装成功
cu101对应cuda10.1
几个错误:
PackagesNotFoundError: The following packages are not available from current channels:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch/win-64/current_repodata.json>
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.