无法在Fedora上安装python-devel

时间:2015-10-08 22:43:36

标签: python python-2.7 fedora rpm

我正在尝试安装python-devel。我不能通过yum做到这一点,无论我尝试什么,所以我只是尝试通过rpm -i安装它,我得到了这个错误。甚至在这里发生了什么?

[me@localhost]~% rpm -i python-devel-2.7.10-10.fc24.x86_64.rpm
warning: python-devel-2.7.10-10.fc24.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 81b46521: NOKEY
error: Failed dependencies:
    python(x86-64) = 2.7.10-10.fc24 is needed by python-devel-2.7.10-10.fc24.x86_64
    python-macros = 2.7.10-10.fc24 is needed by python-devel-2.7.10-10.fc24.x86_64
    python < 2.7.10-10.fc24 conflicts with python-devel-2.7.10-10.fc24.x86_64
[me@localhost]~% python --version
Python 2.7.10
[me@localhost]~% yum install python-macros
Last metadata expiration check performed 0:58:14 ago on Thu Oct  8 14:40:20 2015.
Package python-macros-2.7.10-8.fc22.noarch is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!

0 个答案:

没有答案