在64位Fedora上安装32位Python

时间:2014-06-25 16:38:33

标签: python vim fedora

我已经做了很多挖掘,但我似乎无法找到任何解决方案。看起来最有希望的是this one从" 32位Python"开始。但是,当我运行列出的yum install命令时,我得到了

Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem. Eg.:

         1. You have an upgrade for glibc which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of glibc of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude glibc.otherarch ... this should give you an error
            message showing the root cause of the problem.

         2. You have multiple architectures of glibc installed, but
            yum can only see an upgrade for one of those architectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.

         3. You have duplicate versions of glibc installed already.
            You can use "yum check" to get yum show these errors.

       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).

       Protected multilib versions: glibc-2.18-11.fc20.i686 != glibc-2.18-12.fc20.x86_64
Error: Protected multilib versions: glibc-headers-2.18-11.fc20.i686 != glibc-headers-2.18-12.fc20.x86_64
Error: Protected multilib versions: glibc-common-2.18-11.fc20.i686 != glibc-common-2.18-12.fc20.x86_64

有谁知道如何在64位机器上安装32位Python?这主要是为了让一些Vim插件正常工作(需要32位python)。

由于

1 个答案:

答案 0 :(得分:0)

问题是您为libc安装了64位库和开发头 - 您需要安装32位(i686)版本yum,或者另一个软件包管理器,应该让您指定需要该版本 - 或者您可以将该特定包here下载为rpm。