conda 清华源_python开发环境conda换清华源
为什么换源,能搜怎么换源的人都知道了。下面进入正题。清华源地址:Tsinghua Open Source Mirrormirrors.tuna.tsinghua.edu.cn查看源地址:conda config --show channels添加源:conda config --add channels Tsinghua Open Source Mirrorconda...
·
为什么换源,能搜怎么换源的人都知道了。下面进入正题。
清华源地址:
Tsinghua Open Source Mirrormirrors.tuna.tsinghua.edu.cn
查看源地址:conda config --show channels
添加源:conda config --add channels Tsinghua Open Source Mirror
conda config --add channels Tsinghua Open Source Mirror
channels后面就是要换的源地址
查看源地址:conda config --show channels
恢复默认:conda config --remove-key channels
换好源之后下一步就是创建虚拟环境,安装需要的库了
创建虚拟环境:conda create -n xxx python
切换虚拟环境:conda activate xxx(win) 或者source activate xxx(linux)
安装库:conda install xxx
更多推荐




所有评论(0)