windows环境下pycharm安装torch

环境为windows ,python3.6, pycharm

经过File---->settings---->“+”---->搜索框中搜索“torch”显示后尝试在pycharm中的Terminal中输入

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

但是发现装到99%是出现了以下错误:

MemoryError

然后将上述命令稍加修改:

pip3 --no-cache-dir install https://download.pytorch.org/whl/cu90/torch-1.1.0-cp36-cp36m-win_amd64.whl

这样做可以不用缓存

neuralpy 1.3.0 has requirement matplotlib==1.4.3, but you'll have matplotlib 3.0.3 which is incompatible.
neuralpy 1.3.0 has requirement numpy==1.9.2, but you'll have numpy 1.17.0 which is incompatible.
Installing collected packages: torch
Successfully installed torch-1.1.0

 结果是这样,neuralpy还是没成,但是torch可以了

你可能感兴趣的:(安装,python,torch,pycharm,安装)