擅长:python、mysql、java
<p>redhat提供了Python的多个版本(以及其他包),这些版本可以作为软件集合的一部分并行安装。它们保持系统/usr/bin/完好无损,并由Red Hat提供支持。在</p>
<p>您需要:
*启用RHSCL和可选软件回购
*然后您可以<code>yum install rh-python36</code>或{<cd2>}(2.7.13)
*使用<code>scl enable rh-python 36 bash</code>将python添加到路径中。在</p>
<p>见<a href="https://developers.redhat.com/blog/2018/08/13/install-python3-rhel/" rel="nofollow noreferrer">How to install Python 3 on RHEL</a>。它涵盖了使用Python的多个版本、Python虚拟环境和软件集合的许多技巧。在</p>