Running and Verification
Procedure
- Use PuTTY to log in to the server as the root user.
- Configure the environment variables.
export PATH=/path/to/PYTHON/bin:$PATH export LD_LIBRARY_PATH=/path/to/PYTHON/lib:$LD_LIBRARY_PATH
- Query the Python version.
python3 -V
If the correct version is displayed, the installation is successful.
- View the pip version.
pip3 -V
If the Python3 version is displayed, the installation is successful.
- Start Python.
python3
Parent topic: Python 3.8.2 Porting Guide (openEuler 20.03)