pip install dgl与conda install dgl两个命令安装总是出错,尝试从阿里云镜像源获取地址,使用命令:pip install -U dgl -i http://mirrors.aliyun.com/pypi/simple/
结果报错:
按照提示,重新输入命令:pip install -U dgl -i http://mirrors.aliyun.com/pypi/simple/ --trusted-host mirrors.aliyun.com
已经安装好dgl了,可再尝试在命令末尾加入–user,避免权限的问题。
相关文章: