How to configure Python interpreter after installing pycharm easy tutorial

Source: Internet
Author: User

These two days there are many Python small white to join the learning group, and asked a lot of questions about Pycharm Basic use, today's small series to configure the Python interpreter problem to give you a simple ramble.

1, generally, when we start pycharm, if pycharm normal activation, it will go directly into the pycharm, and pycharm often pop-up interface. (If there is a small partner pycharm has not been activated, you can stand in private messages, small number of this has several activation code, for everyone to share.) )

In fact, this is pycharm hint information, generally pycharm simple or shortcut introduction or other Pycharm function description, we can completely ignore, directly click on the bottom right of the "Close", will not have any impact on you.

2, after we may encounter a problem, there are several small partners consulting pycharm after installation is not able to directly write code, and there is a picture for the card, as shown.

3, First click "Configure Python Interpreter", then Pycharm will be automatically positioned to "Project interpreter" This location, as shown, the interface is one of the Pycharm settings window, Dedicated to configuring the Python interpreter.

4. Just click on the small Triangle drop-down box to the right of "Project interpreter", as shown in the red box on the right.

5. After clicking the button, Pycharm will automatically eject the Python interpreter path as shown in.


6. Only one of the Python interpreters can be selected at this time and the configuration will be successful. Here, for example, with the first Python interpreter, after clicking, wait for the pycharm to load, as shown in.

7, you can see that "Project interpreter" already has a Python interpreter, and the relevant library is loading (Loading), wait a moment, you can load successfully. After the associated library is loaded, the Python interpreter configuration is complete, as shown in.

8. Click "Apply" to load the relevant library into the Python interpreter, wait a moment, and then click on the "OK" tab when the "Apply" tab is grayed out, as shown in.

9, the next pycharm will automatically close the "Setting" window, automatically go back to the Pycharm Main page, and will show the process of loading the Python interpreter, as shown, wait a moment after the completion.

10, the smooth loading completed, the previous hint will disappear, at this time pycharm together back to normal, as shown.

Now, the small partners will be free to use Pycharm knocking code ~ ~ ~

11. If the Python installation path does not pop up in the "Project interpreter" drop-down box in the "Setting" window or the path to the popup is incorrect, you will need to click the Settings button next to it, as shown in.

12, after the dialog box will pop up, click the first "Add local" to add a Python interpreter from the local.

At this point Pycharm will be positioned to the local disk, all you have to do is to find out the location of the Python installation, and then click "OK" to confirm.

13, after the procedure is the same as the above normal loading Python interpreter steps, I wish everyone smooth.

Now, little buddy, how do you get to the correct posture for how to load the Python interpreter in Pycharm?


How to configure Python interpreter after installing pycharm easy tutorial

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.