rhel +如何通过pip install

问题描述

我想在linux rhel服务器上安装最新的python 3

我们可以通过以下rpm的安装来实现

# yum -y install rh-python36
 
# yum -y install rh-python36-numpy \
 rh-python36-scipy \ 
 rh-python36-python-tools \
 rh-python36-python-six

其他选项是

Download (there may be newer releases on Python.org):

$ wget https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tar.xz
Unzip

$ tar xf Python-3.* 
$ cd Python-3.*
Prepare compilation

$ ./configure
Build

$ make
Install

$ make install

但是我也是搜索选项,以pip install安装python 3,但找不到这种方式

因为我们拥有rhel 7.2rhel 7.5rhel 7.6

不同的Rhel服务器

我们正在考虑安装python 3并避免依赖关系问题的最简单方法

所以我想o知道安装python 3的最佳方法,例如使用pip install安装python 3的不同方法

参考-

https://www.liquidweb.com/kb/how-to-install-python-3-on-centos-7/

Installing Python 3 on RHEL

https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)