报错信息
Device API cuda is not enabled. Please install the cuda version of dgl
按照官网给的命令安装dgl,只能下载到cpu版本的。
解决方案
一句话来说:找到cuda版本下载到本地安装
地址:https://data.dgl.ai/wheels/cu118/repo.html
只有这个地址能够找到windows对应版本。
下载完毕,进入下载路径,cmd–>pip install [文件名]
Device API cuda is not enabled. Please install the cuda version of dgl
按照官网给的命令安装dgl,只能下载到cpu版本的。
一句话来说:找到cuda版本下载到本地安装
地址:https://data.dgl.ai/wheels/cu118/repo.html
只有这个地址能够找到windows对应版本。
下载完毕,进入下载路径,cmd–>pip install [文件名]