【问题标题】:How to install python34 via yum in redhat如何在redhat中通过yum安装python34
【发布时间】:2018-08-11 03:10:21
【问题描述】:

我正在尝试在 RHEL 7 上安装 mariadb columnstore api(cpp 版本的 java 包装器),它依赖于 pythong34。以下命令找不到包。

sudo yum install python34 or to search sudo yum search python34

其他服务器已经安装了包,搜索返回结果。

  • python34.x86_64:Python 编程语言的第 3 版,又名 Python 3000
  • python34-devel.x86_64:需要库和头文件 用于 Python 3 开发
  • python34-libs.x86_64:Python 3 运行时 图书馆

到目前为止,我已经尝试过跑步

yum clean all - to clear cache and all other things update repo..

检查两台服务器上的代理是否相同, 百胜更新

尝试通过获取 rpm 手动安装但出现依赖错误。

python(abi) = 3.4 is needed by mariadb-columnstore-api-1.1.3-1.x86_64

任何建议都会有所帮助。谢谢。

【问题讨论】:

    标签: java mariadb redhat python-3.4 yum


    【解决方案1】:

    终于可以安装 python34,它是 EPEP 存储库的一部分。因此使用以下链接启用,然后能够通过 yum 获取它。

    https://www.tecmint.com/how-to-enable-epel-repository-for-rhel-centos-6-5/

    【讨论】:

      【解决方案2】:

      通过 Red Hat Software Collections 安装 Python34 - 这些是更新后的工具、数据库等,它们具有单独的安装。也可以从 softwarecollections.org 获取。

      请参阅 [1] 以安装 Python36,但将 python34 的命令更改为 rh-python34 并根据此处列出的内容 [2]。

      [1]https://developers.redhat.com/products/softwarecollections/hello-world/#fndtn-python。 [2]https://access.redhat.com/documentation/en-us/red_hat_software_collections/3/html-single/3.0_release_notes/#sect-RHSCL-Features

      【讨论】:

        猜你喜欢
        • 2012-04-24
        • 1970-01-01
        • 2013-04-26
        • 1970-01-01
        • 1970-01-01
        • 2016-12-26
        • 2015-09-13
        • 2015-01-29
        • 1970-01-01
        相关资源
        最近更新 更多