服务器安装torch-geometric

文章讲述了在服务器中遇到安装torch-geometric的常规pip命令失败问题,随后介绍了一种新的安装命令,即使用`pipinstall--no-indextorch-scatter-fhttps://pytorch-geometric.com/whl/torch-<version>+<cuda_version>.html`,成功解决了依赖构建问题。
摘要由CSDN通过智能技术生成

在服务器中安装自己的环境,安装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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值