Home > Article > Backend Development > How to check whether python is installed successfully?
Method to determine whether python is installed successfully:
1. Enter python
command## in the cmd command line
print 'hello world', press Enter, it can also be printed successfully.
command python not found, the problem may be that the environment variable is not set.
2. Check the version number of python
If the version number of python is successfully displayed, the installation is successful. Use the following command to check the python versionpython --version
The above is the detailed content of How to check whether python is installed successfully?. For more information, please follow other related articles on the PHP Chinese website!