linux配置miniconda
时间: 2023-10-08 22:10:29 浏览: 151
在Linux上配置Miniconda的步骤如下:
1. 首先,下载Miniconda的安装包。可以使用以下命令从清华镜像站点下载Miniconda3的特定版本:
```
wget -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-4.6.14-Linux-x86_64.sh
```
2. 下载完成后,给安装包添加执行权限并运行安装脚本:
```
chmod 777 Miniconda3-4.6.14-Linux-x86_64.sh
bash Miniconda3-4.6.14-Linux-x86_64.sh
```
3. 接下来,修改pip源为清华源,使用以下命令:
```
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
```
4. 如果需要设置其他的操作命令,可以执行以下命令进行配置:
- 关闭自动进入conda基础环境:
```
conda config --set auto_activate_base false
```
- 开启自动进入conda基础环境:
```
conda config --set auto_activate_base true
```
- 查看帮助信息:
```
conda config -h
```
- 查看全部配置信息:
```
conda config --show
```
5. 最后,添加清华镜像源,使用以下命令:
```
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r
conda config --add channels http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2
conda config --set show_channel_urls yes
conda config --show channels
```
通过以上步骤,您就可以在Linux系统上成功配置Miniconda了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [linux下安装miniconda3,tensorflow-gpu,配置object detection API,转tflite模型](https://blog.csdn.net/qq_33682559/article/details/119956103)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Linux中miniconda的操作](https://blog.csdn.net/m0_73625420/article/details/128313467)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文