In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, Xiaobian will bring you about how to upgrade Python 2.7 in Linux system. The article is rich in content and analyzed and described from a professional point of view. After reading this article, I hope you can gain something.
Python is a programming language, built-in many effective tools, Python is almost omnipotent, the language is easy to understand, easy to get started, powerful, in many fields have a wide range of applications, such as the most popular big data analysis, artificial intelligence, Web development and so on.
1. Prepare the compilation environment gcc
2. Go to the official website to download the source code of the corresponding version of python to be installed
3. Extract downloaded code package
tar -zxvf Python-x.x.x.tgzcd Python-x.x.x
4. configured
1)Find the configure file
find . -name configurecd search results (usually right at the root of Python files)
2)be configured
./ configure
5. compilation
makemake install
(If there are no other special requirements, the installation is over, enter pythonx.x to enter the python development environment you just installed)
6. Replace previous default version of python (create new soft connection)
cd /usr/bin/rm -rf pythonln -s /usr/local/Python-x.x.x/bin/python ./ Python The above is how to upgrade Python 2.7 in Linux system, if there is a similar doubt, may wish to refer to the above analysis to understand. If you want to know more about it, please pay attention to the industry information channel.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.