Pycharm installation and configuration tutorial


foreword


1. Introduction to Pycharm

PyCharm is a Python IDE launched by JetBrains. It provides an easy-to-use graphical user interface and has many useful features, such as code completion and automatic code inspection, to help developers write Python code more efficiently. In addition, PyCharm also provides a debugger and version control system integration, making it easier for developers to manage and maintain their code. In short, PyCharm is a very powerful Python IDE that can greatly improve the productivity of Python developers. The following describes its installation and configuration

Two, Pycharm installation

window系统教程

Download the latest version of the software and select the community version is enough

insert image description hereinsert image description hereNext sequence:
1. Open the installation file of PyCharm. Click "Next" in the pop-up dialog box.

2. On the "License Agreement" page, please read the license agreement and check "I accept the license agreement", and then click "Next".

3. On the "Installation Location" page, select the installation location of PyCharm, and then click "Next".

4. On the Select Add-ons page, check the add-ons you want to install and click Next.

5. On the "Choose a desktop icon" page, check "Create a desktop icon" and click "Finish".

6. PyCharm will start installing, the installation process may take a while. After the installation is complete, click Finish.

7. Double-click the PyCharm icon on the desktop to open PyCharm. When you open PyCharm for the first time, a configuration wizard will appear, just follow the prompts to complete the configuration.

Ubuntu系统教程

Download the latest version of the software and choose the community version.
insert image description here The next sequence:
1. Open the terminal and enter the directory where the PyCharm installation file is located.

2. Run the following command in the terminal to grant execution permission to the installation file:

sudo chmod +x pycharm-*.tar.gz

3. Run the following command to extract the installation files:

tar -xzf pycharm-*.tar.gz

4. Use the cd command to enter the decompressed directory:

cd pycharm-*/

5. Run the following command to start the PyCharm installer:

./pycharm.sh

6. Select "Yes" in the pop-up dialog box, and then click "Install".

7. On the "License Agreement" page, please read the license agreement and check "I accept the license agreement", and then click "Next".

8. On the "Installation Location" page, select the installation location of PyCharm, and then click "Next".

9. On the Select Add-ons page, check the add-ons you want to install and click Next.

10. On the "Choose a desktop icon" page, check "Create a desktop icon" and click "Finish".

11.PyCharm will start the installation, after the PyCharm installation is complete, click "Finish".

12. Open the PyCharm icon on the desktop to run PyCharm. When you open PyCharm for the first time, a configuration wizard will appear, just follow the prompts to complete the configuration.

3. Basic configuration

window系统与Ubuntu系统基本配置无差异

1. Open PyCharm, click "Configure", and then select "Settings".

2. In the "Settings" window, select the "Editor" tab.

3. In the "Editor" tab, you can set the editor's font, color theme, keyboard shortcuts, etc.

4. Select the "Plugins" tab to install plugins.

5. Select the "Project Interpreter" tab to configure the Python interpreter.

6. After completing the above configuration, click the "Apply" button to save the configuration.


Summarize

  • PyCharm is an IDE for Python development.
  • To install PyCharm, you need to download the installation file and follow the prompts to install it.
  • After the installation is complete, some basic configuration is required to use PyCharm normally.

Guess you like

Origin blog.csdn.net/weixin_46417939/article/details/128271868