运行环境需要torch-geometric,下载安装完之后,再 pip install torch-sparse时,一直出错,安装不上
可能原因:需要先安装torch-sparse 和 torch_scatter,再安装torch-geometric才可以
找了很多解决方法,终于找到个可以解决的了,亲测有效
wget https://pytorch-geometric.com/whl/torch-1.5.0/torch_scatter-2.0.5%2Bcpu-cp37-cp37m-win_amd64.whl
pip install torch_scatter-2.0.5+cpu-cp37-cp37m-win_amd64.whl
wget https://pytorch-geometric.com/whl/torch-1.5.0/torch_sparse-0.6.6%2Bcpu-cp37-cp37m-win_amd64.whl
pip install torch_sparse-0.6.6+cpu-cp37-cp37m-win_amd64.whl
wget https://pytorch-geometric.com/whl/torch-1.5.0/torch_cluster-1.5.6%2Bcpu-cp37-cp37m-win_amd64.whl
pip install torch_cluster-1.5.6+cpu-cp37-cp37m-win_amd64.whl
wget https://pytorch-geometric.com/whl/torch-1.5.0/torch_spline_conv-1.2.0%2Bcpu-cp37-cp37m-win_amd64.whl
pip install torch_spline_conv-1.2.0+cpu-cp37-cp37m-win_amd64.whl
pip install torch-geometric