在服务器中安装自己的环境,安装torch-geometric时使用常规方法:
pip install torch-scatter -f https://pytorch-geometric.com/whl/torch-<your_pytorch_version>+${CUDA}.html
一直报错,
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torch-sparse
Running setup.py clean for torch-sparse
Failed to build torch-sparse
ERROR: Could not build wheels for torch-sparse, which is required to install pyproject.toml-based projects
后面翻到一种新命令,安装成功:
pip install --no-index torch-scatter -f https://pytorch-geometric.com/whl/torch-<version>+<cuda_version>.htm