一、检查本电脑是否可以安装GPU
/Mind_programmonkey/article/details/99688839
二、下载安装anaconda
1.下载
我下载的是miniconda,省内存,用清华镜像下载快
Index of /anaconda/miniconda/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
2.安装
步骤:
/video/BV1Fy4y1878z/?spm_id_from=333.880.my_history.
三、pytorch的安装
1.设置虚拟环境
2.在虚拟环境中下载pytorch
好多文章会说在清华镜像里下载会快,但是会出问题,这里直接下载就可以,速度也不是很慢
若出现一下情况,可以换各网络重新尝试:我用校园网就报错,用自己的热点就解决啦!!!
Collecting package metadata (current_repodata.json): failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url </r/win-64/current_repodata.json>
Elapsed: -
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.
ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /r/win-64/current_repodata.json (Caused by ConnectTimeoutError(< object at 0x0000022C29EBEB48>, 'Connection to timed out. (connect timeout=9.15)'))"))
/weixin_68827159/article/details/126859706
/Bluebro/article/details/127161165
/Redamancy06/article/details/125820669
四、PyCharm安装
1.下载
下载官网
2.安装
步骤:/video/BV1Fy4y1878z/?spm_id_from=333.880.my_history.
3.问题:Pycharm conda虚拟环境no such file or directory
解决方法