pytorch安装+geometric安装

1.进入conda promote
2.创建虚拟环境

conda create -n 环境名称 python=3.X 

3.激活虚拟环境

conda activate 环境名称

4.清除镜像源

conda config --remove-key channels

5.配置清华镜像源

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/

6.下载安装torch

conda install pytorch torchvision torchaudio cudatoolkit=11.3

7.安装geometric
需要降级 torch 1.11(自动)

conda install pyg -c pyg

你可能感兴趣的:(机器学习,pytorch,深度学习,python)