Anaconda_备忘说明

Author Avatar
IDforHYIT 1月 27, 2019

本页面访问量

  • 在其它设备中阅读本文章

Anaconda摘要备忘。Anaconda,集成丰富的python科学计算第三方库,包含了conda、Python等190多个科学包及其依赖项,解决开发中常遇到的各个库之间的依赖性问题。

个人向,视情况后续补扩

1. 最新版本下载

官网

1、 https://www.anaconda.com/download/

2、 https://repo.anaconda.com/archive/

3、 国内清华镜像站(推荐,速度快)

        https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

201904更新,注:因分发版权原因,国内的Anaconda镜像均停止继续服务,清华的镜像目前仍可用,但不再更新,如无需使用最新的包,注重网速的骚年,也可继续使用。

2. 安装位置(个人喜好)

D:\envs\Python\Anaconda3

3. 相关教程(推荐自行检索更多)

https://www.jianshu.com/p/eaee1fadc1e9

https://www.jb51.net/article/137772.htm

http://python.jobbole.com/87522/

4. 官方文档建议

https://docs.anaconda.com/

i. 路径建议

In what folder should I install Anaconda on Windows?
We recommend installing Anaconda or Miniconda into a directory that contains only 7-bit ASCII characters and no spaces, such as C:\anaconda. Do not install into paths that contain spaces such as C:\Program Files or that include Unicode characters outside the 7-bit ASCII character set. This helps ensure correct operation and no errors when using any open source tools in either Python 3 or Python 2 conda environments.

强调,路径不能含空格,不能过长,不能中文!!!

http://docs.anaconda.com/anaconda/faq/#in-what-folder-should-i-install-anaconda-on-windows

ii. 官方不建议添加系统环境变量

Should I add Anaconda to the Windows PATH?
When installing Anaconda, we recommend that you do not add Anaconda to the Windows PATH because this can interfere with other software. Instead, open Anaconda with the Start Menu and select Anaconda Prompt, or use Anaconda Navigator (Start Menu - Anaconda Navigator).

附上Anaconda替换添加清华镜像源以解决下载第三方包网速令人抓狂问题

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --set show_channel_urls yes

更新:貌似清华镜像站因为授权原因,停止服务了,只保留之前的一些版本包,不再提供更新。

附:授人以渔(部分)

https://blog.csdn.net/

https://www.cnblogs.com/pick/

https://segmentfault.com/

https://bbs.csdn.net/home

http://www.ruanyifeng.com/blog/

https://www.zhihu.com/

http://yun.itheima.com/open

https://www.jianshu.com/

https://www.oschina.net/

@IDforHYIT

This blog is under a CC BY-NC-SA 3.0 Unported License
本文链接:https://idforhyit.github.io/2019/01/27/Anaconda-Notes/