安装CPU环境的pytorch
创建虚拟环境命令格式:conda create -n 环境名 python=版本号
比如我创建的存放cpu版本pytorch的conda为:
conda create --name cpupytorch python=3.6
如果创建虚拟环境时出现这个问题:
解决方法:
删除自己设置过的国内源
conda config --remove-key channels
设置为可通过notepad配置文件
conda config -set show_channel_urls_yes
最后conda clean -i
重新输入创建虚拟环境就可以了