Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Python3.8+pip in Centos8

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article is about how Centos8 installs Python3.8+pip. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

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.

Yum-y install wgetyum-y install setup yum-y install perlyum install openssl-devel-yyum install zlib-devel-yyum-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-develyum install-y libffi-devel zlib1g-devyum install zlib*-yyum install libffi-devel-ywget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tar .xztar-xvJf Python-3.8.1.tar.xzmkdir / usr/local/python3 cd Python-3.8.1./configure-- prefix=/usr/local/python3-- enable-optimizations-- with-ssl make & & make installln-s / usr/local/python3/bin/python3 / usr/local/bin/python3ln-s / usr/local/python3/bin/pip3 / usr/local/bin/pip3pip3 install-- upgrade pip

After looking at the pagoda installer today, I found that you can quickly install Python3.6 with the following command

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

Thank you for reading! 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, you can share it out for more people to see!

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report