Mac离线安装pytorch(Mac安装pytorch失败解决方法)
一、在线安装问题描述
今天,重新建了一个虚拟环境,安装pytorch的时候发现有问题。
在pytorch官网的界面中找到适合我MacOS的下载方法:conda install pytorch torchvision -c pytorch
运行时,出现类似下面这个:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/pytorch/osx-64/pytorch-1.4.0-py3.7_0.tar.bz2>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent,<