Why is python missing after installation?

Release: 2019-07-25 13:11:30
Original
14271 people have browsed it

Why is python missing after installation?

There is no shortcut after Python is installed. Python comes with idle. You can use idle to edit and run Python files.

If the Python command cannot be found when entering it in cmd, it is because the environment variables were not configured during Python installation.

How to configure environment variables in Python:

Method 1: Use the cmd command to add the path environment variable

Enter under cmd: path=%path%;D:\Python27 Then press the "Enter" key.

Where: D:\Python27 is the installation directory of Python.

Method 2: Add the Python directory to the environment variable

(1) Right-click "Computer" and then click "Properties"

(2) Then click "Advanced System" Set "

(3) Select "Path" under the "System Variables" window and double-click it!

(4) Then in the "Path" line, add the python installation path (my D:\Python27). ps: Remember, the path is directly separated by a semicolon ";"!

Why is python missing after installation?

# (5) After the final settings are successful, enter the command line in the CMD command line, and enter the command "Python" to have a related display.

Why is python missing after installation?

For more Python-related technical articles, please visit the Python Tutorial column to learn!​

The above is the detailed content of Why is python missing after installation?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!