首页 > 编程知识 正文

如何在清华镜像anaconda,anaconda清华镜像安装教程

时间:2023-05-05 19:43:02 阅读:231059 作者:2042

文章目录 1. Anaconda下载安装1.1 下载地址1.2 安装 2. 配置清华镜像源3. 测试使用

1. Anaconda下载安装 1.1 下载地址

清华镜像:https://mirrors.tuna.tsinghua.edu.cn/



选择适合自己系统的最新版本下载。

1.2 安装

双击下载后的exe文件:








此时安装的应用如下:

Anaconda Navigator:图形化界面
Anaconda Powershell Prompt:命令行
Anaconda Prompt:命令行

Anaconda Powershell Prompt 和 Anaconda Prompt 两者区别:

https://stackoverflow.com/questions/56656493/what-is-the-difference-between-anaconda-prompt-and-anaconda-powershell-prompthttps://www.coder.work/article/3155101

Jupyter Notebook:是一个交互式笔记本,支持运行40多种编程语言。IPython notebook是一个基于IPython REPL的web应用,安装IPython后在终端输入ipython notebook即可启动服务。

jupyter:是把IPython和Python解释器剥离后的产物,将逐渐替代IPython独立发行。

2. 配置清华镜像源

首先,先运行anaconda.


一般修改配置文件,如下:
https://mirror.tuna.tsinghua.edu.cn/help/anaconda/

找到用户目录下.condarc文件,以记事本打开。一般不可见,先显示隐藏的项目。

修改为下:

channels: - defaultsshow_channel_urls: truedefault_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud

即可添加 Anaconda Python 免费仓库。

3. 测试使用

先创建一个新环境:

我使用pycharm测试python程序,先安pycharm:
下载地址:https://www.jetbrains.com/pycharm/download/#section=windows

选择免费的社区版下载即可。下载后双击安装。



版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。