ERROR: Could not build wheels for torch-scatter, which is required to install pyproject.toml-based p
在终端打开python,查看pytorch版本。我的版本为2.1.2+cu121。解决:查看pypi文档。
·
pip install torch-scatter
报错
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torch-scatter
Running setup.py clean for torch-scatter
Failed to build torch-scatter
ERROR: Could not build wheels for torch-scatter, which is required to install pyproject.toml-based projects
解决:查看pypi文档
在终端打开python,查看pytorch版本
import torch
torch.__version__
我的版本为2.1.2+cu121
所以根据文档输入
pip install torch-scatter -f https://data.pyg.org/whl/torch-2.1.0+cu121.html
安装成功
更多推荐
所有评论(0)