Python download and installation tutorial computer version, Python cannot be found after downloading and installing

Hello everyone, the editor is here to answer the following questions for you, download and install the progress bar module (tqdm) in Python, and how to run it after downloading and installing Python. Now let us take a look!

Python download and installation

1. Enter the official website of Python, Download Python | Python.org . Here we take downloading Python for Windows as an example.

Insert image description here

2. Select the version to download is 3.9.9, double-click to download. Note: The latest Python 3.9.9 requires Windows 7 or above.

Insert image description here

3. After the download is complete, click Run. The installation interface will appear. Select Upgrade Now.

Insert image description here

This is the default installation path: C:\Users\fang\AppData\Local\Programs\Python\Python39
Everyone is different. You should remember your own installation path and use it later when configuring environment variables.

Insert image description here

Waiting for installation

Insert image description here

4. When this interface appears, it means the installation is successful. Click close.

Insert image description here

5. After running Python
and installing it successfully, open the command prompt window (win+R, enter cmd and press Enter). After entering python, if
'python' appears, it is not an internal or external command, nor is it an operable program or batch file. It means that the environment variables have not been configured yet.

Insert image description here

Configure environment variables

1. First click to view and check "Hidden Items"

Insert image description here

2. Find the installation path of python, follow the respective installation path, Ctrl+C to copy this path

Insert image description here

3. Configure environment variables

Steps: Right-click this computer–>select properties–>select advanced system settings–>select environment variables in the lower right corner
Insert image description here

Insert image description here

Double-click Path and paste the path you just copied (Ctrl V)
Insert image description here
Insert image description here

win+R, enter cmd and press Enter, enter python, and Python 3.9.9 appears, indicating that the configuration is successful.

Insert image description here

Can provide remote construction and operation services

For students who don’t know how to debug and run, you only need to open the remote and we will help you set up and debug everything (JDK, Idea/Eclipse, MySQL, Tomcat, Maven...)

Click to get the project source code

Insert image description here

Guess you like

Origin blog.csdn.net/chatgpt001/article/details/135453389