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
Problem description: I used a desktop computer an...
First, you need to determine which fields or fiel...
The Docker daemon uses HTTP_PROXY , HTTPS_PROXY ,...
1. Nested routing is also called sub-routing. In ...
One trick for dealing with this type of error is t...
When the height attribute of Text is defined, the ...
Table of contents 1. Introduction 2. Configuratio...
1. Framework A browser document window can only d...
This article shares the specific code of js to ac...
This article shares the specific code for impleme...
After reading some articles, I finally figured ou...
1. Install openssh-server yum install -y openssl ...
Adding background image control to a component re...
Table of contents Preface 1. GMT What is GMT Hist...
Table of contents Event-driven and publish-subscr...