In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Download python3
Wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz
2. Decompression
[root@mycentos ~] # tar-xzvf Python-3.7.0.tgz
Create a compilation directory first:
[root@mycentos ~] # mkdir / usr/local/python3
The Python3.7 version requires a new package libffi-devel, which can be compiled and installed again after installing the package.
[root@mycentos ~] # yum install-y libffi-devel
Then compile and install:
[root@mycentos] # cd Python-3.7.0 [root@mycentos ~] #. / configure-- prefix=/usr/local/python3 [root@mycentos ~] # make [root@mycentos ~] # make install
Establish a soft link:
[root@mycentos] # ln-s / usr/local/python3/bin/python3 / usr/bin/python3
View the version:
[root@mycentos ~] # python3-VPython 3.7.0
Installation is complete!
These are all the knowledge points and detailed steps of this introduction. Thank you for your support.
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.