Install PyCharm2022 Tutorial
- Download and install PyCharm
- Install Python
- Configure the PyCharm environment
- Use PyCharm
- PyCharm interface introduction
1. Download and install PyCharm
The download address of pycharm on the official website:
2. Professional Edition, Community Edition. It is recommended to install the professional version. The downloaded file will show
3. Click "Install" to modify the installation path. It is recommended to install to a location other than Disk C. After modification, click Next.
4. Check all the function options here, or choose according to your needs;
5. Next, click "Install" to open the installation interface.
2. Install Python
If you have not downloaded a Python interpreter before, you need to download a Python interpreter, otherwise pycharm cannot complete it alone. Enter the Python official website:
7. As shown in the figure below, select the desired Python version number and click Download. I choose Python3.9.10
-Windows installer (32-bit)。
Note:
① Windows x86-64 stands for 64-bit Windows operating system;
② Windows x86 stands for 32-bit Windows operating system;
③ Web-based installation means online installation. The download is an EXE executable program. After double-clicking, the program will automatically download the installation file for installation. Because it is installed online, there must be a network;
④ Executable installation refers to program installation. What you downloaded is an EXE executable program. You can open it to install;
⑤ Are you familiar with the zip that can be embedded in the zip file, so the surface download is a compressed file. After decompression, the installation is complete.
8. After the download is successful, find the python installation package path and open the installation package.
9. To turn it on, we first check all the boxes and click on "Custom Install" below.
10. Check them all and click Next.
11. The first one in the figure below cannot be checked, and the others need to be checked. The custom installation location below specifies the installation path of python. I chose the d drive. After the setup is complete, click Install.
12. Start the installation
13. After the installation is successful, click Disable path length limit to complete the python installation.
14. Check the environment variable configuration: (you can also skip this step)
Open the win key + R, the operation box will pop up, enter CMD, and open the CMD command line window. After typing python, press enter. If you can enter the python command line window, it means that the python environment variable configuration is successful.
Python 3.9.1 installation complete
3. Configure the PyCharm environment
18. Double-click the icon, as shown in the figure below.
19. Baidu search "vrg123PyCharm" to get the code and paste it into Activate Pycharm =>> Activation code
20. Select "New Project" for the first time to create a new project.
21. Modify the project storage directory. It is recommended to use a disk other than disk C by default. "Test" is the project name I defined.
21. Select the project name test, right-click, select new, and select the Python file.
22. Create a python file called t.py.
23. Add test code, just print "Hello Python!", all programs are Xiaobai's first program.
print(“Hello Python!”)
24. Press "Ctrl+F5" or go to the "little green triangle" to run the code and run the result.
5. Introduction to PyCharm