赞
踩
使用 conda create -n carla python=3.7
命令安装虚拟环境出错,说网络连接异常,经久查询未果:
在终端输入下面这些:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
走进 C:/Users/USER_NAME/.condarc
,删除内部的 -defaults
选项,保存退出;
重新运行 conda create -n carla python=3.7
指令即可。
作者:艾孜尔江·艾尔斯兰
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。