First method Alibaba Cloud and Baidu Cloud servers are available! ! ! Second method 1. Download the compressed package of python3.6.5 wget http://cdn.npm.taobao.org/dist/python/3.6.5/Python-3.6.5.tgz 2. Unzip the compressed package 3. Installation cd Python-3.6.5 yum install -y zlib* yum install -y gcc If it appears: cd /etc/yum.repos.d mv CentOS-Base.repo CentOS-Base.repo.backup Check the system version: Select the appropriate version of the source: http://mirrors.163.com/.help/centos.html wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo yum clean all yum makecache Then directly: Then it still reports an error. . . . The reason is that the CentOS6 version cannot install python3 directly from the source, but CentOS7 can! ! ! Summarize The above are two ways to install Python3 on Linux servers introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: Explanation of the usage scenarios of sql and various nosql databases
>>: js to realize the production method of carousel
Table of contents 1. Concepts related to stored p...
You may often see the following effect: That’s ri...
Table of contents vite function Use Environment B...
Table of contents Preface Laying the foundation p...
For Linux system administrators, it is crucial to...
To create a flex container, simply add a display:...
1. Start the Docker container Start a new Docker ...
A common development need is that we want to coll...
Preface MySQL database lock is an important means...
introduction I discovered a problem before: somet...
The players we see on the web pages are nothing m...
As a front-end developer, I can’t avoid IE’s pitf...
Table of contents 1. Comparison with Vue2 1. New ...
Table of contents Million-level data processing s...
When a running container is terminated, how can w...