conda uninstall -n novelgnn --all
conda create -n Novelgnn python=3.7
电脑只能安装cpu版本的,安装pytorch实际上就是安装torch和torchvision两个包,下载链接:https://download.pytorch.org/whl/torch_stable.html
下载好两个文件之后,存储在某个盘,安装
pip install d:\Anaconda\torch-1.5.0+cpu-cp37-cp37m-win_amd64.whl
pip install D:\Anaconda\torchvision-0.6.0+cpu-cp37-cp37m-win_amd64.whl
检查torch安装是否成功,输入python进入
import torch
torch.__version__
下载链接https://pytorch-geometric.com/whl/
pip install D:\Anaconda\torch_scatter-2.0.5-cp37-cp37m-win_amd64.whl
pip install D:\Anaconda\torch_sparse-0.6.7-cp37-cp37m-win_amd64.whl