mac配置pyg和dgl

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

上一篇:MAC 连接远程服务器,及文件操作,常用终端命令大全


下一篇:Linux基础命令---top显示进程信息