python - 无法通过 epel-release 安装 python36,找不到包 python36

标签 python python-3.6 centos7

我无法在以下版本的 centos 上安装 python 36。 CentOS Linux 7.6.1810 版(核心版)

NAME="CentOS Linux"

VERSION="7(核心)"

ID="centos"

ID_LIKE="rhel fedora"

VERSION_ID="7"

PRETTY_NAME="CentOS Linux 7(核心)"

ANSI_COLOR="0;31"

CPE_NAME="cpe://o:centos:centos:7"

HOME_URL="https://www.centos.org/"

BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"

CENTOS_MANTISBT_PROJECT_VERSION="7"

REDHAT_SUPPORT_PRODUCT="centos"

REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux 发行版 7.6.1810(核心版)

CentOS Linux 发行版 7.6.1810(核心版)

Pytho34 可用,但 python36 不可用。

yum --disablerepo="*"--enablerepo="epel"信息 python34

设置语言环境失败,默认为C

加载的插件:fastestmirror

从缓存的主机文件加载镜像速度

  • epel:mirrors.kernel.org

可用的包

名称:python34

架构:x86_64

版本:3.4.10

版本:2.el7

大小:51k

repo :epel/x86_64

总结:Python 编程语言的第 3 版又名 Python 3000

网址:http://www.python.org/

许可证:Python

说明:Python 3 是与 2.x 不兼容的新版本语言

        : line of releases. The language is mostly the same, but many details, especially

        : how built-in objects like dictionaries and strings work, have changed


        : considerably, and a lot of deprecated features have finally been removed.

yum --disablerepo="*"--enablerepo="epel"信息 python36

设置语言环境失败,默认为C

加载的插件:fastestmirror

从缓存的主机文件加载镜像速度

  • epel:mirrors.kernel.org

错误:没有要列出的匹配包

我知道在centos7上安装python36的其他方法,但是如何使用epel repo呢?

最佳答案

RHEL 7.7 添加了 Python 3.6。 Python 3.6 已从 EPEL 7 中删除以符合 EPEL 指南:EPEL 中没有 RHEL 包。显然,每次 RHEL 发布而 CentOS 还没有发布时,都会有一段时间的中断。查看discussion on EPEL mailing listoriginal bug report about this .

关于python - 无法通过 epel-release 安装 python36,找不到包 python36,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57446004/

相关文章:

mongodb - 执行 mongodump 后 Mongod 服务崩溃

mysql - 无法使用 peewee 连接到 MySQL 数据库

pandas - 我正在尝试将 csv 文件的空白值转换为列的平均值,但它给出 "could not convert string to float: ' -' "错误

apache - Centos7 启用 SSL - 连接超时

python - 用图案而不是颜色填充多边形 Geopandas

python - 在 Python 中使用 Pyramids 进行快速模板匹配

python - 使用 Mechanize(python 包)将文件添加到表单不起作用

python - Tensorflow:为什么我的代码运行越来越慢?

python - ModuleNotFoundError : What does it mean __main__ is not a package?

amazon-web-services - 已断开 没有可用的受支持的身份验证方法(服务器发送公钥) 发送公钥 gssapi key 和麦克风