码迷,mamicode.com
首页 > 系统相关 > 详细

mac配置pyg和dgl

时间:2020-07-07 00:29:41      阅读:86      评论:0      收藏:0      [点我收藏+]

标签:read   style   spl   def   define   undefined   官网   code   ber   

1.发现conda不能用

参考的博客:https://www.jianshu.com/p/13f5d20e61f8

https://www.jianshu.com/p/92b11e25bc14

zsh:command not find:conda 的详细解决办

open ~/.zshrc

export PATH=/anaconda/bin:$PATH
source ~/.bash_profile

 2.安装dgl

参考博客(直接是官网):

https://docs.dgl.ai/en/0.4.x/install/index.html

直接

pip install dgl

3.安装pyg 

参考博客:

https://zhuanlan.zhihu.com/p/129649943

https://pytorch-geometric.readthedocs.io/en/latest/notes/installation.html

知乎的这个 改了官网的一个下划线

pip install torch_scatter==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
pip install torch_sparse==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
pip install torch_cluster==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
pip install torch_spline-conv==latest+cpu -f https://pytorch-geometric.com/whl/torch-1.5.0.html
pip install torch-geometric

 

 

 

mac配置pyg和dgl

标签:read   style   spl   def   define   undefined   官网   code   ber   

原文地址:https://www.cnblogs.com/William-xh/p/13258276.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!