清华镜像源TensorFlow anaconda
时间: 2023-09-25 10:16:46 浏览: 142
对于清华镜像源,TensorFlow和Anaconda的配置步骤如下:
1. 清华镜像源:清华大学开源软件镜像站(mirrors.tuna.tsinghua.edu.cn)提供了丰富的开源软件镜像,包括TensorFlow和Anaconda。
2. TensorFlow配置:在使用pip安装TensorFlow时,可以使用清华镜像源来加快下载速度。在命令行中执行以下命令:
```shell
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow
```
这将使用清华镜像源进行TensorFlow的安装。
3. Anaconda配置:对于Anaconda的配置,可以使用清华镜像源更新conda的配置文件。在命令行中执行以下命令:
```shell
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
conda config --set show_channel_urls yes
```
这将把清华镜像源添加为Anaconda的默认镜像源,以后使用conda安装软件包时将使用该镜像源加速下载。***
阅读全文
相关推荐


















