安装Anaconda
官网
根据官网指南进行软件安装
安装链接
Anaconda Installation
https://docs.anaconda.com/anaconda/install/
Windows:
https://docs.anaconda.com/anaconda/install/windows/
Mac
https://docs.anaconda.com/anaconda/install/mac-os/
Windows安装流程
Windows:
https://docs.anaconda.com/anaconda/install/windows/
- 在官网上下载安装包
- 双击运行,依次选择
Next
→ \rightarrow →I Agree
→ \rightarrow →Just Me
(建议安装) 如果是给整机所有的用户安装使用则可以选择All Users
(但需要管理员权限) → \rightarrow →Next
→ \rightarrow → 选择要安装anaconda的文件夹并点击Next
→ \rightarrow → 官方推荐不选择添加环境变量(第一个空格不打钩),但是将Anaconda设置为默认的Python运行(第二个空格打钩),点击Install
进行安装
Choose whether to add Anaconda to your PATH environment variable or register Anaconda as your default Python. We don’t recommend adding Anaconda to your PATH environment variable, since this can interfere with other software. Unless you plan on installing and running multiple versions of Anaconda or multiple versions of Python, accept the default and leave this box checked. Instead, use Anaconda software by opening Anaconda Navigator or the Anaconda Prompt from the Start Menu.
→
\rightarrow
→ Next
→
\rightarrow
→ 安装完成点击Finish
安装确认
确认Anaconda是否安装成功
https://docs.anaconda.com/anaconda/install/verify-install/
通过Anaconda Navigator
Anaconda Navigator是一个图形界面工具,如果可以成功打开,那么代表Anaconda已经成功安装。
Anaconda Navigator is a graphical user interface (GUI) that is automatically installed with Anaconda. Navigator will open if the installation was successful. If Navigator does not open, review our help resources.
Window:
点击Win
键,找到Anaconda Navigator
,双击打开。
Windows: Click Start, search for Anaconda Navigator, and click to open.
Mac:
点击Lauchpad
按键,找到Anaconda Navigator
;或者在Application
文件夹中找到Anaconda Navigator
,然后双击打开软件即可。
macOS: Click Launchpad and select Anaconda Navigator. Or use Cmd+Space to open Spotlight Search and type “Navigator” to open the program.
命令流Conda
If you prefer using a command line interface (CLI), use conda to verify the installation using Anaconda Prompt on Windows or the terminal on Linux and macOS.
To open Anaconda Prompt:
Windows: Click Start, search for Anaconda Prompt, and click to open.
macOS: Use Cmd+Space to open Spotlight Search and type “Navigator” to open the program.
Linux–CentOS: Open Applications > System Tools > terminal.
Linux–Ubuntu: Open the Dash by clicking the Ubuntu icon, then type “terminal”.
After opening Anaconda Prompt or the terminal, choose any of the following methods to verify:
- Enter
conda list
. If Anaconda is installed and working, this will display a list of installed packages and their versions. - Enter the command
python
. This command runs the Python shell, also known as the REPL. If Anaconda is installed and working, the version information it displays when it starts up will include “Anaconda”. To exit the Python shell, enter the commandquit()
orctrl+z
. - Open Anaconda Navigator with the command
anaconda-navigator
. If Anaconda is installed properly, Anaconda Navigator will open.
各种问题
官方问题总结
https://docs.anaconda.com/anaconda/user-guide/troubleshooting/#