Salted fish installation tool-Anaconda
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
2. Download
2. Select NEXT——I Agree—— NEXT——Select the path and click NEXT
Common commands
Enter conda info under the cmd command to see the following figure indicating that you have successfully installed
Environment variable configuration
Add system variables
Common commands
Basic commands
conda list #查看安装了哪些包。
conda env list 或 conda info -e #查看当前存在哪些虚拟环境
conda update conda #检查更新当前conda
conda --version #查询conda版本
conda -h #查询conda的命令使用
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