When installing python3 make on linux, make loops all the time

Reason: If the system time is earlier than the python release time, make will enter an endless loop.
Solution: use date -s'year-month-day hour: minute: second' to modify the system time
and then execute make and make install

Appendix Install python3 method
Download the installation package
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz
Unzip tar zxvf Python-3.6.5.tgz
Enter the unzipped folder cd Python- 3.6.5
./configure --prefix=/home/python3 Set the installation directory, you can directly ./configure
report no acceptable C compiler found in $PATH You need to install gcc
make
make install to
set up the soft connection
ln -s /home/python3 // usr/bin/python3

Guess you like

Origin blog.csdn.net/qq_14920377/article/details/100738813