Python builds a virtual environment through pycharm Community

1. Install python environment

(1) Enter the official website to download python3.0

Official website address: Download Python | Python.org

insert image description here

(2) Click the installation package to install:

​ Note:

  • Check the And Python xx PATH option (if this is not checked, you need to configure the environment in the environment variable yourself)

(3) Verify whether the installation is successful

  • Step 1: win + r

  • The second step: cmd

  • Step 3: Enter the command: python

    If the following conditions appear, the installation is successful.

insert image description here

2. Install Pycharm Community

(1) Download software

Download link: Download PyCharm: Python IDE for Professional Developers by JetBrains

insert image description here

(2) Install the software

insert image description here

  • Other fool installations will do

3. Pycharm Community (hereinafter referred to as PC) uses GIT graphically

(1) Create a folder as a local warehouse

(2) Right-click the folder, clickOpen Folder as PyCharm Community Edition Project

insert image description here

(3) Configure git for PC

insert image description here

(4) Perform git operations

insert image description here

4. Install anaconda

(1) Download the software from the official website

Download address: https://www.anaconda.com

insert image description here

(2) Install software

insert image description here

  • Other fool installation

(3) Configure the domestic mirror download address

insert image description here

Or you can also check the following URL:

anaconda | mirror station use help | Tsinghua University open source software mirror station | Tsinghua Open Source Mirror

insert image description here

(4) use anaconda

insert image description here

5. PC creates the environment and applies it to the imported project

insert image description here

insert image description here

insert image description here

insert image description here

At this time, you can use the terminal of the PC to download the required environment package with the command

insert image description here

Guess you like

Origin blog.csdn.net/weixin_63571132/article/details/126807000