Installation environment: rhel7 virtual machine
Reason for installation: At present, the interpreter version has reached 3 and above, so I want to install a newer version of the interpreter.
To install python3 and above, you need to download the source code installation package on the official website. It is recommended to download the stable version. After downloading, install the package as follows: After the
above compilation process is completed, then install python3.
During the installation, an error occurs: after
installing zlib-devel, install python3 again.
Now let's try to run the python3 program,
but if you use the above method every time you run python3, it will be very troublesome. For convenience, we will add python3 to the environment variables, so that directly input python3 directly in the shell Run python3 program directly.
python-install python3.7 under the virtual machine
Guess you like
Origin blog.csdn.net/qq_44749796/article/details/105567939
Recommended
Ranking