This example takes the installation of Python 3.8 on Linux as an example. 1. Dependency package installation yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel libffi-devel 2. Download package: https://www.python.org/ftp/python/3.8.1/ wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgz 3. Decompression: 4. Installation: cd Python-3.8.1 ./configure --prefix=/usr/local/python3 make && make install 5. Establish soft connection ln -s /usr/local/python3/bin/python3.8 /usr/bin/python3 ln -s /usr/local/python3/bin/pip3.8 /usr/bin/pip3 6. Verify whether the installation is successful Execute python3 command Execute pip3 command If the above commands produce the results shown in the figure, the installation is successful. Summarize The above is a detailed tutorial on how to install Python 3.8.1 on Linux introduced by the editor. I hope it will be helpful to everyone! You may also be interested in:
|
<<: Solving problems encountered when importing and exporting Mysql
>>: How to encapsulate WangEditor rich text component in Angular
Import: Due to project requirements, we will enca...
need: According to business requirements, it is n...
Table of contents 1. Props Parent >>> Ch...
Preface Based on my understanding of MySQL, I thi...
This article is a MySQL configuration file soluti...
Navigation bar creation: Technical requirements: ...
Table of contents 1. How to obtain different view...
A long time ago, I summarized a blog post titled ...
1. Why is eject not recommended? 1. What changes ...
This article is compiled with reference to the My...
MySQL storage engine overview What is a storage e...
The principle is to call the window.print() metho...
In the hive installation directory, enter the con...
Table of contents 1. Rendering 2. Bind data and a...
Introduction to HTML HyperText Markup Language: H...