1、 CentOS installs Python dependencies
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel
Check the version of python
Python 2.6.6
8 After solving the system Python soft link pointing to the Python2.7 version, because yum is not compatible with Python 2.7, yum cannot work normally, we need to specify the Python version of yum
The file header
#! /usr/bin/python
Author: front-line career
Source: CSDN
Original: https://blog.csdn.net/jcjc918/article/details/11022345
Copyright statement: This article is the original article of the blogger, please attach the link to the blog post if you reprint it!
( adsbygoogle = window.adsbygoogle || []).push({});
Recommended Posts