pyTorch安装问题

我用的pyCharm,本来以为在FIle-Setting-ProjectInerpreter可以直接安装pytorch,并且添加了源项,但是总是报错

could not find a version that satisfies the requirement pytorch

最后选择根据官网的指令在shell手动安装

pip3 install https://download.pytorch.org/whl/cpu/torch-1.1.0-cp36-cp36m-win_amd64.whl
pip3 install torchvision

pyTorch官网如下:

https://pytorch.org/

 

你可能感兴趣的:(机器学习)