Install easy_install (setuptools) in linux)
If it is similar to ubuntu's desktop-mounted system, you can download and install it directly. The following is the command line installation method for centOS. Check the version number first and select the installation method based on the version. The terminal command is as follows:
# lsb_release -a
The version number is 5.x. Execute the following commands in sequence:
> wget --no-check-certificate https://bootstrap.pypa.io/ez_setup.py> python ez_setup.py --insecure
The version number is 6 or later.
wget https://bootstrap.pypa.io/ez_setup.py -O - | python
If the preceding command prompts permission problems, use the superuser permission to execute
> wget https://bootstrap.pypa.io/ez_setup.py -O - | sudo python
If you need to specify the user path
> wget https://bootstrap.pypa.io/ez_setup.py -O - | python - --user