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
Preview of revised version This article was writt...
Additional explanation, foreign keys: Do not use ...
Through the study and application of Node, we kno...
Table of contents VARCHAR and CHAR Types Conclusi...
What is ZooKeeper ZooKeeper is a top-level projec...
environment: 1. CentOS6.5 X64 2.mysql-5.6.34-linu...
1. Basic Specifications (1) InnoDB storage engine...
First, pull the image (or just create a container...
This post introduces a set of free Photoshop wire...
SSH public key authentication is one of the SSH a...
Recently, our small team needs to share a shared ...
Table of contents Transaction Isolation Level Wha...
This article shares the specific code for impleme...
1. Download 2. Decompression 3. Add the path envi...
Table of contents Solution, Summarize: vue projec...