我正在尝试使用yum安装python-devel,方法是:sudo yum install python-devel
得到以下结果:
^{pr2}$
我的理解是它需要特定版本的python:python-2.7.5-76.el7.x86_64,因此我尝试了:sudo yum install python-2.7.5-76.el7.x86_64
但是它输出:Package matching python-2.7.5-76.el7.x86_64 already installed. Checking for update.
Nothing to do
我该怎么办?在
如果我运行:sudo yum info python,它会给我:Installed Packages
Name : python
Arch : x86_64
Version : 2.7.5
Release : 80.el7_6
Size : 79 k
Repo : installed
From repo : updates
Summary : An interpreted, interactive, object-oriented programming language
URL : http://www.python.org/
License : Python
Description : Python is an interpreted, interactive, object-oriented programming
: language often compared to Tcl, Perl, Scheme or Java. Python includes
: modules, classes, exceptions, very high level dynamic data types and
: dynamic typing. Python supports interfaces to many system calls and
: libraries, as well as to various windowing systems (X11, Motif, Tk,
: Mac and MFC).
:
: Programmers can write new built-in modules for Python in C or C++.
: Python can be used as an extension language for applications that need
: a programmable interface.
:
: Note that documentation for Python is provided in the python-docs
: package.
:
: This package provides the "python" executable; most of the actual
: implementation is within the "python-libs" package.