conda环境设置
镜像设置
[pythoning@dev ~]$ conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
代理设置
$HOME/.condarc 文件中
这个文件中可以看到镜像源信息(如果配置了的话),在下面加上proxy就可以设置代理了:
channels:
- https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
- defaults
show_channel_urls: true
proxy_servers:
http: http://xxx.xx.com:8080
https: https://xxx.xx.com:8080
ssl_verify: false
更新
[pythoning@dev ~]# conda update conda
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 4.14.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: /usr/local/miniconda3
added / updated specs:
- conda
The following packages will be downloaded:
package | build
---------------------------|-----------------
_libgcc_mutex-0.1 | main 3 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
_openmp_mutex-5.1 | 1_gnu 21 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
brotlipy-0.7.0 |py38h27cfd23_1003 323 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ca-certificates-2022.07.19 | h06a4308_0 124 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi-2022.6.15 | py38h06a4308_0 153 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cffi-1.15.1 | py38h74dc2b5_0 228 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
charset-normalizer-2.0.4 | pyhd3eb1b0_0 35 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda-4.14.0 | py38h06a4308_0 916 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda-package-handling-1.8.1| py38h7f8727e_0 885 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cryptography-37.0.1 | py38h9ce1e76_0 1.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cytoolz-0.11.0 | py38h7b6447c_0 345 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
idna-3.3 | pyhd3eb1b0_0 49 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ld_impl_linux-64-2.38 | h1181459_1 654 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libffi-3.3 | he6710b0_2 50 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgcc-ng-11.2.0 | h1234567_1 5.3 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libgomp-11.2.0 | h1234567_1 474 KB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libstdcxx-ng-11.2.0 | h1234567_1 4.7 MB https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ncurses-6.3 |

最低0.47元/天 解锁文章
4873

被折叠的 条评论
为什么被折叠?



