ERROR: Failed building wheel for torch-sparse

环境:

        torch:1.10.0

        cuda:10.2

场景: pip install torch-sparse -f https://pytorch-geometric.com/whl/torch-1.10.0+cu102.html

问题:安装torch-sparse出现以下问题

ERROR: Failed building wheel for torch-sparse

解决方法:指定torch-sparse版本

pip install torch-sparse==0.6.13 -f https://pytorch-geometric.com/whl/torch-1.10.0+cu113.html 

参考连接 

你可能感兴趣的:(深度学习,pytorch,python)