python3-Anaconda3共享环境功能 DEPRECATION: The default format will switch to columns in the future解决

(data-analysis) [root@promote ~]# conda env export > data-analysis3.yaml
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
(data-analysis) [root@promote ~]# python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 10kB/s
Installing collected packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-20.0.2
(data-analysis) [root@promote ~]# conda env export > data-analysis3.yaml
(data-analysis) [root@promote ~]#
(data-analysis) [root@promote ~]# conda info
Current conda install:

           platform : linux-64
      conda version : 4.3.8
   conda is private : False
  conda-env version : 4.3.8
conda-build version : not installed
     python version : 3.6.0.final.0
   requests version : 2.12.4
   root environment : /root/anaconda3  (writable)
default environment : /root/anaconda3/envs/data-analysis
   envs directories : /root/anaconda3/envs
      package cache : /root/anaconda3/pkgs
       channel URLs : https://repo.continuum.io/pkgs/free/linux-64
                      https://repo.continuum.io/pkgs/free/noarch
                      https://repo.continuum.io/pkgs/r/linux-64
                      https://repo.continuum.io/pkgs/r/noarch
                      https://repo.continuum.io/pkgs/pro/linux-64
                      https://repo.continuum.io/pkgs/pro/noarch
        config file : None
       offline mode : False
         user-agent : conda/4.3.8 requests/2.12.4 CPython/3.6.0 Linux/3.10.0-327.el7.x86_64 CentOS Linux/7.2.1511 glibc/2.17
            UID:GID : 0:0

(data-analysis) [root@promote ~]# conda info -e

conda environments:

data-analysis * /root/anaconda3/envs/data-analysis
your_env_name /root/anaconda3/envs/your_env_name
root /root/anaconda3

(data-analysis) [root@promote ~]# conda env export > data-analysis3.yaml
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
(data-analysis) [root@promote ~]# python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/54/0c/d01aa759fdc501a58f431eb594a17495f15b88da142ce14b5845662c13f3/pip-20.0.2-py2.py3-none-any.whl (1.4MB)
100% |████████████████████████████████| 1.4MB 10kB/s
Installing collected packages: pip
Found existing installation: pip 9.0.1
Uninstalling pip-9.0.1:
Successfully uninstalled pip-9.0.1
Successfully installed pip-20.0.2
(data-analysis) [root@promote ~]# conda env export > data-analysis3.yaml

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值