TC-Light icon indicating copy to clipboard operation
TC-Light copied to clipboard

How to build the torch-scatter package?

Open lxrswdd opened this issue 1 year ago • 2 comments

Direcly running pip install -r environments.txt will raise an error when installing torch-scatter.

After running pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121, I see the Pytorch version at 2.5.1

It still fails even when I try pip install torch-scatter -f https://data.pyg.org/whl/torch-2.5.1+${121}.html

Thanks

lxrswdd avatar Jul 15 '25 21:07 lxrswdd

@lxrswdd Hi, my solution is to directly download the wheel package from the official website and install it manually.

DekuLiuTesla avatar Jul 16 '25 09:07 DekuLiuTesla

@lxrswdd Hi, my solution is to directly download the wheel package from the official website and install it manually.

Hi Tesla,

pip install torch-scatter -f https://data.pyg.org/whl/torch-2.5.1+cu121.html worked for me eventually. I mistakenly kept ${} which caused the failure at the beginning. I would recommend you add this line of code to your ReadMe installation section to help other future users.

Thanks

lxrswdd avatar Jul 16 '25 18:07 lxrswdd