Centos 7.6 yum install python36 vs python3

时间:2019-09-30 16:25:13

标签: python python-3.x python-3.6

我正在使用Centos 7.6运行服务器,并且已经安装了python36

 yum list installed | grep python36
 python36u.x86_64                     3.6.8-1.el7.ius                   @ius
 python36u-libs.x86_64                3.6.8-1.el7.ius                   @ius
 python36u-pip.noarch                 9.0.1-1.ius.el7                   @ius
 python36u-setuptools.noarch          39.0.1-1.ius.el7                  @ius

但是,我也需要python36-devel,但是当我尝试安装yum时,它告诉我python3已经淘汰了python36,它想安装它。这将如何影响当前依赖python36的任何应用程序?

 yum install python36-devel
 ...
 Package python36-devel is obsoleted by python3-devel, trying to install python3-devel-3.6.8-10.el7.x86_64 instead
 ...
 Installing:
 python3-devel                         x86_64                3.6.8-10.el7                  
 Installing for dependencies:
  dwz                                   x86_64                0.11-3.el7                                 
  libtirpc                              x86_64                0.2.4-0.16.el7       
  perl-srpm-macros                      noarch                1-8.el7                               
  python-rpm-macros                     noarch                3-32.el7                          
  python-srpm-macros                    noarch                3-32.el7                              
  python3                               x86_64                3.6.8-10.el7                         
  python3-libs                          x86_64                3.6.8-10.el7                          
  python3-pip                           noarch                9.0.3-5.el7                           
  python3-rpm-generators                noarch                6-2.el7                               
  python3-rpm-macros                    noarch                3-32.el7                              
  python3-setuptools                    noarch                39.2.0-10.el7                         

它还将python36替换为python36。我想知道这将如何影响当前依赖python36的任何应用程序?

0 个答案:

没有答案