Python download, installation, uninstallation and visualization tools for Windows system

Python download, installation, uninstallation and visualization tools for Windows system

The first step is to download Python

Enter Python official website

1. Click Downloads to enter the Downloads page

Insert image description here

2. On the Download page, scroll down to the Release list, select the version you want to download, and click the Download button at the back.

I chose python3.10.0

Insert image description here

3. Select the corresponding system type and click to enter the download queue.

This is a Windows 11 64-bit system
Insert image description here

Step 2. Install Python

1. Double-click the exe file, check Add Python 3.10 to PATH, and select custom installation

Insert image description here

2. PIP (Python Package Manager) must be checked and click Next

Insert image description here

3. You must check Add Python to environment variables to add Python to the environment variables, and then select the installation path of Python.

It is best to name it Python + version number. Example: Python3.10, (note that the package name should not contain Chinese, spaces, or special characters, otherwise there may be many incomprehensible problems in the future because of the package name)
Insert image description here

4. On the installation success page, you must check disable path length limit, and then close

Disabling the system's automatic path length limit can save us a lot of trouble.
Insert image description here

5. Check whether the installation is successful

Check the python version command: python --version
Check the python package management tool version command: pip --version

6. Start python and exit from the command line

Enter python in the command line to start python, which can be encoded.
Enter exit or use the quit() function to exit python. The
Insert image description here
installed python is an interpreter, which is translated line by line into machine language for execution.
Automatically modify the configuration file. Download the pip package management tool from Douban.
pip config set global.index-url https://pypi.doubanio.com/simple

Step 3. Uninstall Python

1. Find Python related programs through Control Panel-Programs and Functions

Insert image description here

2. Uninstall Python3.10.0 first, then uninstall Python Launcher

3. Delete the entire Python installation directory

4. Delete the corresponding Python environment variable

Right-click My Computer, Properties, select Advanced System Settings, click Environment Variables, and delete the path related to Python in the Path path.
Insert image description here

Step 4. Install the Python visualization tool PyCharm

1. Enter the official website of jetbrians

2. Select Developer Tools —> PyCharm

Insert image description here

3. Click the Download button on the PyCharm page to enter the download page.

4. Select the corresponding system (Window), Community version, and click to download.

There is a fee for the professional version, but there is a one-month trial period, and the community version is free to use.
Insert image description here

Click on the downloaded PyCharm, keep Next, and install it.

Insert image description here

Guess you like

Origin blog.csdn.net/danny_799745061/article/details/125631191