python and pycharm download and installation steps

(Here we take python3.7 and pcharm2020.2.5 as examples)

1. Download and installation of python

1. Download

1) First find the official website of python on the browser and click to enter

Quick link: Python Chinese website official website (p2hp.com)

2) Click Download on the page

3) Find the version you need in Find a specific version on this page

If you can't find it, you can use the search method in the browser. Press ctrl+F on the keyboard to pop up the search box. Enter the version number you want to find. After you find it, click Download later.

 

 4) After clicking download, turn to the Files section at the bottom of the page. Download the corresponding installation package according to your computer system (windows or mac) and bit number (32-bit or 64-bit). Click the blue font to start downloading.

If you don’t know the number of digits of your computer, you can open the properties of your computer (My Computer) to check it.

Right-click This PC (My Computer) on the desktop and select Properties

You can usually see the number of digits of your computer in the pop-up interface.

 5) Wait for the progress bar to finish before starting the installation

2. Install python and after the installation is complete, test whether the environment variables are configured properly

1) Find the download location of the python installation package and open the installation package

2) After the installation interface pops up, first check the option with path (meaning to automatically configure environment variables), and then select the custom installation below

3) In the pop-up interface, everything is checked by default, no operation is required, and then click Next.

 4) Next, after the next step, the pop-up interface will change the installation location of the python file. It is recommended to install it somewhere other than the C drive.

After the modification is completed, click Install to install.

 

 Then wait for the progress bar to finish

 5) After the installation is completed, just close the pop-up interface.

 6) After installing python, you can test whether the python environment variables are configured properly in the cmd window. Use the Win+R keys on the keyboard to pop out of the running window, enter cmd in the running window, and then click OK.

Enter python in the cmd window that pops up

 After typing, press the Enter key (Enter key). If you enter the python interactive window, the environment variables are configured correctly.

The above is all the content of python download and installation

2. Download and install pycharm and use pycharm to create a new project for testing (the demonstration here is pycharm professional version 2020.2.5)

1. Download

1). First, search for pycharm in the browser, find the official website of pycharm, and click to enter.

Quick link: PyCharm: JetBrains’ Python IDE for professional developers

 2) After entering the official website, click any download button

 3) After clicking download, slide down the page and click on other versions.

4) Select the version you want to download in the pop-up window. The order on the official website is the chronological order of the release year. Here is an example of downloading 2020.2.5 in 2020.2.

Pycharm is divided into community version and professional version. Here we download the professional version (the steps for downloading the community version are the same)

Select the corresponding blue font link to download according to your computer system.

Wait for the download progress bar to finish before starting the installation.

2. Installation

1) Find the location where you downloaded the installation package and open the installation package

After entering the installation interface, click Next to proceed to the next step.

 2) Click the next page to enter and modify the path of the pycharm installation file. It is recommended to place it somewhere other than the C drive.

After modifying the path, click Next to proceed to the next step.

 3) In the pop-up check interface, it is recommended to check the first three:

The first option means to create a shortcut on the desktop

The second one is to automatically configure the pycharm environment variables on the computer. 

The third one is to configure a content in the registry. When you right-click to add a pycharm project, open this folder. When you are in the created project (in the folder), right-click in a blank area and select this option. You can use pycharm to quickly open this project

 4) After checking, click Next.

 Just click Install on the interface where you select the start menu folder to install it.

 Wait for the installation progress bar to complete

 5) After checking, you will be prompted whether to restart to make the configuration take effect. We can choose the following option not to restart, and then select Finish to complete the installation.

 3. Steps to activate and create a new project folder

3.1 Activation (for steps that are not available, please read below)

1) After installing pycharm, there is a shortcut to pycharm on the desktop, open it

When you open it for the first time, you will be prompted with a user agreement, check it and continue.

 Then we are prompted whether to share data, and we choose not to share it.

Then wait for loading, and the personalized settings for importing Pycharm will appear. Here we choose not to import the settings and select ok (maybe not)

2) After selecting, a background color of the selection interface will pop up (pure black or pure white, you can choose according to your own suitability), click Next after selecting.

Then a plug-in recommended for download will pop up. We don’t need to download it here, just click Start using pycharm to use pycharm directly.

 3) After selecting, the interface for activating pycharm will pop up. Because the downloaded version is the professional version, which has more comprehensive functions than the community version (the community version does not have this step), here we choose the free evaluation on the right (it can be used for free for 30 days). Then click Evaluate to perform an activation.

3.2 Create new project

1) After clicking Evaluation, the welcome interface of pycharm will appear. Here we can create a new project and configure the python interpreter we installed. Click New Project to create a new project.

 

 2) After entering the creation interface, you can first modify the location where this project (folder) is saved.

 For the front is his file path, and the last is the name of the project

 3) After modifying the path, configure the python interpreter we initially installed, select the existing interpreter, and then click on the three dots to select

4) In the window that pops up, select the third System Interpreter. Generally, the installed python interpreter will be automatically read after clicking. If it is not read automatically or you want to choose another interpreter, you need to click Open the three dots on the right to find python.exe in the installation location and configure it.

If no selection is required and it is automatically read, you can select ok

5) Then click create to create

 After creating a new one, a Tip prompt will usually pop up. You can ignore this prompt and select Close after checking Do not display.

6) This is the complete project creation process. After waiting for the progress bar below to finish, right-click where the code is written and use run to run the file.

 Generally, if the console below outputs this content, it means that all configurations are completed and the installation is successful.

(This content is a process for teaching python novices to download and install. If there are any errors, please point them out and they will be modified in time)

Guess you like

Origin blog.csdn.net/qq_61780970/article/details/131456148