[2023 latest version] Ultra-detailed Python+Pycharm installation nanny-level tutorial, Python environment configuration and usage guide, it is enough to bookmark this article

In the past two years, the most asked question by Python beginners is, what code editing tool should I use?

To be honest, I personally use Jupyter Notebook the most, mainly for data visualization, which is more convenient.

But for beginners, PyCharm is still the best choice, even I suggest you only use PyCharm.

Judging from all the current mainstream Python IDEs, PyCharm is the most suitable for Python development, especially for novices, it can save a lot of unnecessary time and cost. So how to use it?

Table of contents

  • Python 3.10.2 interpreter installation

  • Installed in PyCharm 2021.1.3 development tools

  • Run the code in PyCharm

  • Add ppojie plugin to PyCharm

This article will introduce in detail from the installation of the Python interpreter to the installation of the Pycharm professional version and the use of the broken sister plug-in, hoping to help everyone.

I have packaged the Python interpreter & Pycharm installation package & Pycharm broken sister plug-in.

Friends, if you need it, you can scan the QR code of CSDN official certification below on WeChat to get it for free [guaranteed 100% free]

1. Python 3.10.2 interpreter installation

This article assumes that readers are familiar with Python development and that a certain version of the Python interpreter has been installed on the computer. It is recommended to uninstall this version first. The tutorial will use Python version 3.10.2, and the screenshots and demos are from a Windows system. Since PyCharm runs on all major platforms, readers will see slightly different UI elements on other systems and may need to adjust some commands.

(1) First install the python environment on the python official website (https://www.python.org/getit/)
(2) Select Downloads–Windows, as shown in the figure:

(3) After clicking, you will find that there are many python versions. Of course, we must choose the python 3.X version, because the python 2.X version is no longer officially maintained. But I do not recommend that you choose the latest version, because many third-party libraries are not yet compatible, so it may cause errors when running. Here we choose version 3.10.2. Click on the ** Windows embeddable package (64-bit) ** download link.

(4) After the download is complete, we click to start the installation. I have already packaged the Python interpreter. If you are too lazy to download it, you can skip the above steps and get it directly by leaving a message in the comment area!

(5) Please pay attention here, you must check the Add PythonTo Path check box here, it will automatically add python to the environment.
Click Custmize installation to perform a custom installation.

(6) Click install for all users, and then choose to modify the path, I choose D drive here. (I do not recommend that you choose the C drive, because the files on the C drive sometimes require administrator privileges. This may add some unnecessary troubles)

After the selection is complete, click install and wait for the installation to complete. If you see the title Setup Was successful, it means the installation was successful.

2. PyCharm 2021.1.3 development tool installation

This article will use the PyCharm Community Edition 2021.1 version, which is free for only 30 days and available on all major platforms.

Why choose Pro Edition?

Users actually have 3 versions of PyCharm to choose from, namely Community Edition, Professional Edition, and Educational Edition.

  • Among them, the community version is free, but many functions are castrated;

  • The professional version is paid and has complete functions. The first year is $199, and the renewal fee can be discounted;

  • The educational version is free and is aimed at school students and educators. Relevant qualifications are required to apply.

So what should we do if we want to experience the professional version of Pycharm and use it for free forever?

Don't worry, this article will show you all the installation packages for free!
I have downloaded and packaged PyCharm Community Edition 2021.1.

This full version of the Python installation package and a full set of learning materials have been uploaded to the CSDN official website. If you need it, you can scan the CSDN official certification QR code below on WeChat to get it for free [100% free guarantee].
CSDN big gift package: "2023 latest Python full set of learning materials package" free sharing

Let's move on to the tutorial.
(1) We click to start installing PyCharm

(2) Click Free Trial → Trial → Continue, and the installation is completed.


Note that if you have installed this software before and there are various problems, please uninstall this software first. Use this software that I recommend to you.
I have packed the Pycharm installation package & Pycharm broken sister plug-in!

This full version of the Python installation package and a full set of learning materials have been uploaded to the CSDN official website. If you need it, you can scan the CSDN official certification QR code below on WeChat to get it for free [100% free guarantee].
CSDN big gift package: "2023 latest Python full set of learning materials package" free sharing

(3) Open Pycharm and create a new project.

The project is actually to build a project or file, which is installed to the C drive for us by default. Similarly, we still need to customize the location. Here we still choose the D drive, and then create a new python project.


When the above steps are completed, because we have installed the interpreter before, the python interpreter that can be seen in the figure below is automatically loaded into Pycharm, and finally just click Create.

In this way, the Python project file has been built. You can see that the following figure automatically generates an interface containing code for us.

So what if we want to create a new project and start writing code? Don't worry, let's move on.

3. Run the code in PyCharm

Code demo, test run
Move the mouse to PythonProject, right-click New→Python Flie.

Name a new file name, I named it James here, and then click the Python flie below.

Enter the code Print (1+3) to test run the code, then right-click on the blank space and select Run ''James", click the program to run it. Finally, the

result 4 is displayed below, and the code runs normally!

4. Add the broken sister plug-in in PyCharm

The steps are here, our environment is all installed, but there is still a problem, we are only using the free version, there is no broken sister and permanent free trial function, what should we do?
It's very simple, just in the code interface we just ran, we just need to move our broken sister plugin.jar to the Pycharm code area.

If dragging fails once, let’s try again. It may take a little time to load until the following page appears, showing whether to restart. We click Restart. After restarting, our Pycharm will become a permanent free version!

Finally, a warm reminder, if the version you installed before is different from the version I have here, please uninstall your own interpreter and development tools first, and install the version and plug-ins that I have packaged for everyone in the picture below. Pay attention, there is no broken sister You can still only try the 30-day trial version of the plugin! If you need to pack the file, please like + bookmark

This full version of the Python installation package and a full set of learning materials have been uploaded to the CSDN official website. If you need it, you can scan the CSDN official certification QR code below on WeChat to get it for free [100% free guarantee].
CSDN big gift package: "2023 latest Python full set of learning materials package" free sharing

Guess you like

Origin blog.csdn.net/Python_0011/article/details/128579488