"Learning Python with You Hand in Hand" 3-PyCharm installation and configuration

In the previous article "Learning Python with You Hand in Hand" 2-Python installation , we installed Anaconda together, and the computer has an environment for running Python. In this article, we will install the Python integrated development environment PyCharm together, and then everyone can formally write and run Python programs.

PyCharm can also be downloaded for free from the official website (https://www.jetbrains.com/pycharm/download/). Although PyCharm also has a paid Professional version, the free version is enough for many professionals, let alone us recruits. Therefore, you can choose to download the free Community version directly according to your own operating system. The latest version currently (June 27, 2019) is 2019.1.3 (with benefits at the end of the article ).

After downloading, click the installer and choose the default installation method step by step. The following interface can be selected according to your needs.

Then the Next installation is complete. Click the menu bar or desktop icon to run, you will see the following window:

Click Configure in the lower right corner, and then click the first Settings in the drop-down menu to enter the settings interface.

Click the Project Interpreter highlighted in the left menu, and you can select the project interpreter in the right window. At this time, the interface you see may be the same as the picture below, all blank. Click the gear icon in the upper right corner, select "Add..." in the menu that appears, and the following window will appear.

 Select the highlighted Virtualenv Environment on the left, click to select the Existing environment below on the right, and check the last line Make available to all projects, so that there is no need to repeat the configuration in the future. The last step is to click the ... button on the right of the second-to-last line on the right, and the following dialog box will appear to select the location of python.exe in the Anaconda we installed. You can choose according to your own installation path. If you use the default path to install, it will usually be in the folder under the user name.

Finally, click OK all the way to complete the configuration of PyCharm. When you first use it, there will be a relatively long loading time for the interpreter (that is, Python). After the loading is completed, it will generally not be there in the future.

If you really encounter a situation where the interpreter is not configured, it does not matter, you can click on the position in the lower right corner of the PyCharm interface to select the interpreter, as shown in the following figure, the pop-up menu in the lower right corner.

The above is the download, installation and configuration process of Python and integrated development environment. I believe that all the friends who followed it step by step have successfully completed it.

Now that the door of Python has been opened, let us enter the world of Python together!

Fighting~~~

 

 


Thanks for reading this article! If you have any questions, please leave a message and discuss together ^_^

Welcome to scan the QR code below, follow the "Yesu Python" public account, read other articles in the "Learning Python with You Hand in Hand" series, or click the link below to go directly.

"Learning Python with You Hand in Hand" 1-Why learn Python?

"Learning Python with you hand in hand" 2-Python installation

Also talk about Python-a learning and sharing area for Python lovers

 

Guess you like

Origin blog.csdn.net/mnpy2019/article/details/98749023