foreword
Recently, due to the needs of the project, when deploying the blockchain network, there is a problem. When running the downloaded install.sh script, it prompts an error. Then find
the script file and find the statement corresponding to the error. It is found that the pip of python has not been downloaded.
solve
Know the cause of the problem, and then just download a Pip, but encounter this problem again when downloading and encounter ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.7. Please use https://bootstrap.pypa .io/pip/2.7/get-pip.py instead.
reason
Other versions are also due to the conflict between the old and new versions. The solution to this error is the same, modify the required version number by yourself
Solution
According to the current error content you encounter, copy the path provided in the error report, as shown in the figure above, enter the command
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
Re-enter the command
python get-pip.py
Success, as shown in the figure below,
check whether it is successful
which pip # 查看安装路径
pip -v # 查看版本号
Then execute install.sh to install successfully.