Install easy_install (setuptools) and linuxsetuptools 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-
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
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.