Anaconda installation configuration and environment creation

Anaconda is an open source python distribution with a lot of useful toolkits. The following is an introduction to the installation, configuration and environment creation process of Anaconda.

Table of Contents

1. Download and install Anaconda

2. Anaconda environment variable configuration

3. Create an environment under Anaconda

1. Download and install Anaconda

Download Anaconda on the official website: Anaconda | Individual Edition

Choose the version you need. Here we take 64-bit windows as an example. After the download is complete, open the file.

All the way next –> i agree –> next

Choose a location you like here, with enough space

Click install and wait for it to install itself. Just exit after installation. The next step is to configure the environment variables.

2. Anaconda environment variable configuration

We need to add the script folder in the Anaconda installation path to the system’s path environment variable, such as D:\anaconda\Scripts (according to the path of your own installation)

Right-click My Computer–>Properties–>Advanced System Settings–>Environment Variables

Click path

Create a new one and add the path you just created to the environment variables.

Done, open cmd and enter conda -V. If the version number appears, the configuration is successful.

3. Create environment under Anaconda

Let’s briefly introduce how to create a new environment in Anaconda. First open Anaconda. It is recommended to enter from Anaconda Prompt instead of opening cmd directly, because I often report errors when using cmd to create an environment, and Anaconda Prompt makes it clearer.

After opening, the default base environment is used. The instructions to create a new environment are:

conda create -n name python=3.9

The following python=3.9 is the version number of python to be used, fill it in according to the actual situation

After pressing enter, just wait for the environment to be created. You may be asked to install some things in the middle. Just select yes. Enter the command after completion.

conda env list

You can view the current environment you have

Use instructions

activate environment name

to activate the environment

About Python technical reserves

Learning Python well is good whether you are getting a job or doing a side job to make money, but you still need to have a learning plan to learn Python. Finally, we share a complete set of Python learning materials to give some help to those who want to learn Python!

Includes: Python activation code + installation package, Python web development, Python crawler, Python data analysis, Python automated test learning and other tutorials. Let you learn Python systematically from scratch!

1. Python learning outline

The technical points in all directions of Python are organized to form a summary of knowledge points in various fields. Its usefulness is that you can find corresponding learning resources according to the above knowledge points to ensure that you learn more comprehensively.

2. Essential development tools for Python

3. Introductory learning video

4. Practical cases

Optical theory is useless. You must learn to follow along and practice it in order to apply what you have learned to practice. At this time, you can learn from some practical cases.

5. Python side job part-time and full-time routes


The above-mentioned complete version of the complete set of Python learning materials has been uploaded to the CSDN official. If necessary, you can scan the CSDN official certification QR code below on WeChat to get it

[[CSDN gift package: “Python part-time resources & full set of learning materials” free sharing]](Safe link, Feel free to click)