1.服务器pip安装失败,尝试下载到本地后再pip安装
eg:ERROR: Failed building wheel for torch-scatter
我根据官网提示在线安装失败,离线安装就好了:
Installation — pytorch_geometric 2.0.2 documentation
然后还是失败:ImportError: cannot import name 'scatter_',最后修改pip install torch_geometric==1.4.1才能运行:
Import Error · Issue #1526 · pyg-team/pytorch_geometric · GitHub