赞
踩
笔者使用清华镜像站作为pip源,直接pip install torch_scatter
和pip install torch_cluster
安装不成功,考虑使用源码安装。下面以安装pytorch_cluster-1.4.5为例说明源码安装过程,pytorch_scatter的源码安装方式类似。
注意,安装pytorch_scatter, pytorch_cluster需要预先安装对应版本的pytorch
可以从github找到对应版本的源码下载,也可以观察pip install torch-cluster==1.4.5
的输出
Collecting torch-cluster==1.4.5 (from -r requirements.txt (line 75))
Using cached https://pypi.tuna.tsinghua.edu.cn/packages/c3/70/1d827d6fd1e03bb5ae84852dd0070c6574105c37e7b935284f6e990932db/torch_cluster-1.4.5.tar.gz
Ctrl-C结束pip install ttorch-cluster==1.4.5
进程
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。