linux 中 conda配置文件 .condarc

 

001、.condarc 存在于个人用户的家目录下, 在初次安装完conda并不会生成,在运行完conda config后才会生成

复制代码
(base) [root@pc1 ~]# cd ~             ## 回到用户个人家目录
(base) [root@pc1 ~]# ls               ## 列出文件
anaconda3        Desktop    Downloads             Music     Public     Videos
anaconda-ks.cfg  Documents  initial-setup-ks.cfg  Pictures  Templates
(base) [root@pc1 ~]# ls -a            ## 列出文件,包括隐藏文件,没有.condarc文件
.                .bash_logout   .config    Downloads             Music     Templates
..               .bash_profile  .cshrc     .esd_auth             Pictures  Videos
anaconda3        .bashrc        .dbus      .ICEauthority         Public    .viminfo
anaconda-ks.cfg  .cache         Desktop    initial-setup-ks.cfg  .ssh      .vimrc
.bash_history    .conda         Documents  .local                .tcshrc
(base) [root@pc1 ~]# conda config        ## 执行该命令,生成.condarc文件
(base) [root@pc1 ~]# ls -a               ## 列出文件
.                .bash_logout   .condarc  Documents             .local    .tcshrc
..               .bash_profile  .config   Downloads             Music     Templates
anaconda3        .bashrc        .cshrc    .esd_auth             Pictures  Videos
anaconda-ks.cfg  .cache         .dbus     .ICEauthority         Public    .viminfo
.bash_history    .conda         Desktop   initial-setup-ks.cfg  .ssh      .vimrc
复制代码

 

002、 查看该配置文件的内容

(base) [root@pc1 ~]# cat .condarc
{}

 。

 

posted @   小鲨鱼2018  阅读(2480)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
点击右上角即可分享
微信分享提示