In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to install Python3.8+pip in Centos8. The editor thinks it is very practical, so I share it with you for reference. I hope you can get something after reading this article.
Minimize the installation of Python8 after the installation of Python3.8.1, online to find a circle of tutorials, none of which can be completely successful. Or it can be installed successfully, but pip cannot be used. Finally, according to a number of tutorials to organize a command, the test is successful, the installation and use is completely no problem.
one
two
three
four
five
six
seven
eight
nine
ten
eleven
twelve
thirteen
fourteen
fifteen
sixteen
seventeen
eighteen
nineteen
Yum-y install wget
Yum-y install setup
Yum-y install perl
Yum install openssl-devel-y
Yum install zlib-devel-y
Yum-y groupinstall "Development tools"
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
Yum install-y libffi-devel zlib1g-dev
Yum install zlib*-y
Yum install libffi-devel-y
Wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar.xz
Tar-xvJf Python-3.8.1.tar.xz
Mkdir / usr/local/python3
Cd Python-3.8.1
. / configure-- prefix=/usr/local/python3-- enable-optimizations-- with-ssl
Make & & make install
Ln-s / usr/local/python3/bin/python3 / usr/local/bin/python3
Ln-s / usr/local/python3/bin/pip3 / usr/local/bin/pip3
Pip3 install-upgrade pip
After looking at the pagoda installer today, I found that you can quickly install Python3.6 with the following command
one
two
Yum install python3 python3-devel-y
Ln-sf / usr/bin/python3 / usr/bin/python
After installation, upgrade PIP with the following command and you will be ready for normal use.
Pip3 install-upgrade pip
This is the end of this article on "how to install Python3.8+pip in Centos8". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Original link: https://blog.csdn.net/mayans005/article/details/104159929
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.