Salted fish software installation-Anaconda installation

Introduction

Anaconda refers to an open source Python distribution, which contains more than 180 scientific packages and their dependencies such as conda and Python. Simply put, Anaconda is Python's package manager and environment manager.

Features

Anaconda has the following characteristics:

  • Open source
  • Simple installation process
  • High performance using Python and R language
  • Free community support
Anaconda installation and configuration

Windows64: Official address
Mirror download: Mirror address
1. Select 64-bit (win64 bit) and click Download
Insert picture description here
2. Download
Insert picture description here

2. Select NEXT——I Agree—— NEXT——Select the path and click NEXT
Insert picture description here

Common commands

Enter conda info under the cmd command to see the following figure indicating that you have successfully installed
Insert picture description here

Environment variable configuration

Insert picture description here
Add system variables
Insert picture description here

Common commands

Basic commands

conda list  #查看安装了哪些包。

Insert picture description here

conda env list  或  conda info -e  #查看当前存在哪些虚拟环境

Insert picture description here

conda update conda  #检查更新当前conda
conda --version  #查询conda版本

Insert picture description here

conda -h  #查询conda的命令使用

Insert picture description here
Create a virtual environment

 conda create -n name python=3.6

Activate the virtual environment

activate name #虚拟环境名称

Install additional packages in the virtual environment

 conda install -n name [包名比如 pyb] 

Close the virtual environment

deactivate

Delete a virtual environment

conda remove -n name --all 
Published 166 original articles · 22 praises · 10,000+ views

Guess you like

Origin blog.csdn.net/weixin_45020839/article/details/105364999