“This is the 9th day of my participation in the Gwen Challenge in November. Check out the details: The Last Gwen Challenge in 2021.”

preface

Hi everyone, I have been doing Java project development for a long time. Recently, I came across a project that needed Python development language for simple development, so I installed a set of Python environment locally. I believe many of you know that The Python language is powerful, not only because Python has a simple and easy to understand syntax, but also because Python has the most mature program package library. I believe that Python development partners know Anaconda, this time will be based on Anaconda briefly introduced.

What is the Anaconda

Anaconda is an open source Python distribution, which contains many Python development packages. After installing Anaconda, you can quickly and easily call various Python libraries and manage the version information of various libraries. Such a powerful function, the following began to introduce how to install the use of it.

Download the Anaconda

To download Anaconda, go directly to the official website. This Anaconda is relatively large, with more than 500 meters. Students with slow Internet speed can directly find the files to share on the cloud disk. If you can ** you can download faster.

Download link is as follows: www.anaconda.com/products/in… Click on the download

Xiaobian uses Windows, so the download is the Windows version of Anaconda, you can choose the corresponding version according to your own operating system. Download after the completion of direct decompression can see the EXE file, click the file installation.

Start the installation

1. Select a file and run it as an administrator

2, the installation prompt message will appear, click Run

3. Click Next

4, now is the installation agreement, directly select agree agreement, proceed to the next step.

5, this step is to select the user, directly select all users in the machine can use, you can also according to their own machine permissions, set the relevant configuration. Then click Next.

6, select the installation location, because there may be a lot of dependent resource libraries, so try not to put together with the system disk. Just choose a place that you think is more suitable,

7. After selecting the storage location, click OK.

8. Click Next

9, prompt whether to add environment variables, it is recommended to directly select on, more convenient, and then click Install

10, program installation, you can click to view the details and progress of the installation.

11. After installation, click Next.

12. Click on the skip

13. Click Finish and Anaconda is installed on Windows.

Use the Anaconda

1. The installation of Anaconda has been completed. Find the Anaconda file package in start.

2. Select Anaconda Prompt

3, the administrator console, and CMD similar, directly enter the command.

4. Query the Anaconda version information. If the version information is displayed, the Anaconda installation is successful.
conda info
Copy the code

The python version is python 3.6

All dependencies can be installed here and here

After installing Anaconda, we can easily manage the installation packages (install, uninstall, update).

1. Installation package

The package management function of Conda is the same as PIP, of course, you can choose PIP to install the package.

Conda install Resource nameCopy the code
2. Uninstall the package
Conda remove Resource nameCopy the code
3. Update packages
Conda update Specifies the resource nameCopy the code
4. Query the installed packages
conda list
Copy the code
7, the sample

I prefer PIP installations and can use scripts as you like, all functions are the same. For example, install jieba

pip install jieba
Copy the code

Jieba word divider installation is complete.

Conda list Check the newly installed Jieba resource library, which has been installed.

You can also see the installation files in the folder.

conclusion

Anaconda3: Install Anaconda3: Install Anaconda3: Install Anaconda3: Install Anaconda3: Install Anaconda3: Install Anaconda3 If there are shortcomings, welcome comments and corrections. See you next time.

About the author: [Little Ajie] a love tinkering with the program ape, JAVA developers and enthusiasts. Public number [Java full stack architect] maintainer, welcome to pay attention to reading communication.