conda配置pytorch虚拟环境
目录
1.创建虚拟环境
2.下载pytorch
3.pycharm配置pytorch虚拟环境
1.创建虚拟环境
conda create --name pytorch python=3.10
2.下载pytorch
pip install torch==2.7.1 torchvision==0.22.1 torchaudio==2.7.1 --index-url https://download.pytorch.org/whl/cpu
3.pycharm配置pytorch虚拟环境
conda create --name pytorch python=3.10
conda remove -n pytorch --all
conda list