Initial commit of WQ_GUI
This commit is contained in:
25
setup_conda_mirrors.sh
Normal file
25
setup_conda_mirrors.sh
Normal file
@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# 配置Conda使用北外镜像源
|
||||
# Configure Conda to use BFSU mirrors
|
||||
|
||||
echo "配置Conda镜像源..."
|
||||
echo "Configuring Conda mirrors..."
|
||||
|
||||
# 添加conda-forge镜像
|
||||
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/cloud/conda-forge/
|
||||
|
||||
# 添加main仓库镜像
|
||||
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/main/
|
||||
|
||||
# 添加free仓库镜像
|
||||
conda config --add channels https://mirrors.bfsu.edu.cn/anaconda/pkgs/free/
|
||||
|
||||
# 显示当前配置
|
||||
echo
|
||||
echo "当前通道配置:"
|
||||
echo "Current channel configuration:"
|
||||
conda config --show channels
|
||||
|
||||
echo
|
||||
echo "配置完成!现在可以使用 environment.yml 创建环境了。"
|
||||
echo "Configuration completed! You can now create the environment using environment.yml."
|
||||
Reference in New Issue
Block a user