In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "installation tutorial of PyCharm under the Windows system". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and study the installation tutorial of PyCharm under the Windows system.
[brief introduction]
The Python integrated development environment developed by JetBrains has become a powerful tool for Python professional developers and beginners.
It has intelligent code editor, which can realize the functions of automatic code formatting, code completion, intelligent prompt, refactoring, unit testing, automatic import and one-click code navigation.
[download from official website]
Download from the official website: http://www.jetbrains.com/pycharm/download/#section=windows
Professional says professional version, community is community version, it is recommended to install community version, because it is free to use.
[notes]
It is recommended that you install the Python interpreter before installing the PyCharm tool.
Without the Python interpreter installed, pycharm is like a soulless drive shell.
[installation steps]
1. When the download is finished, click install and remember to modify the installation path. What I put here is the E disk. After the modification, Next
2. The next step is
We can choose 32-bit or 64-bit according to our own computer, which should be basically 64-bit system at present.
3. As follows
Click Install, and then wait for the installation.
4. Go to the official website of python: / / www.python.org/
Click Downloads to enter the selection download interface
5. Select the python version number we need as shown below, and click Download
6. I chose python3.5.1, and I will see the following interface
Because we need to use the interpreter under Windows, you can choose the corresponding Windows version in Operating System. There are 64-bit and 32-bit options. I choose this one with a red line. Executable means the executable version, which needs to be used after installation. Embeddable means the embedded version, which can be used after decompression.
The executable version is relatively simple to install and has always been fine by default. Embeddable should note that when we extract this, we also need to extract it to the same path, where there are pip, setuptools and other tools. If we do not extract it, we will not be able to update the module in pycharm. For example, if we need to use pymysql, we cannot download it. Although it works, it is the castrated version of the python interpreter.
If it is the embeddable version, remember to add the path where the interpreter is located to the environment variable, otherwise pycharm will not be able to automatically get the location of the interpreter.
7. Add environment variables
(1) right-click my computer, click Properties, and the following interface pops up
(2) Click Advanced system Settings to show the following figure
(3) Click the environment variable
(4) find the Path in the system variable, edit it, paste the path of the python interpreter to the end, and add a semicolon.
End of environment variable configuration
8. At this time, Pycharm is also installed, and we enter the software.
9. Click Create New Project, and next is the key point
Location is the path where we store the project. Click on this triangle symbol and you can see that pycharm has automatically acquired Python 3.5.
Click the first one and we can choose the path to Location, such as
Remember, the path we chose needs to be empty, otherwise it cannot be created, the second Location does not need to touch it, it is automatically defaulted, the rest are not used, and then click Create. The following interface appears, which is Pycharm configuring the environment, waiting quietly. Finally, click close to turn off the prompt.
10. Establish a compilation environment
Right-click New and select Python File
Give file a name and click OK
Hello.py will be generated by default.
Well, at this point, our initial work is basically complete.
Let's compile it.
The shortcut key ctrl+shift+F10 or click on the green triangle will compile, and the compilation result is as follows
12. By the way, because I have added it before, I can compile directly, and there is one very important step left unsaid, otherwise pycharm cannot find the interpreter and will not be able to compile.
Click File, select settings, click
Add an interpreter
Finally, click Apply. Wait for the system configuration.
If we need to add a new module, click the green + sign
Then search pymysql directly.
Then click install
This is the installation process and initialization of pycharm, as well as the installation and configuration of the Python interpreter.
Thank you for reading, the above is the content of the installation tutorial of PyCharm under the Windows system, after the study of this article, I believe you have a deeper understanding of the installation tutorial of PyCharm under the Windows system, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.