feat: start.sh
This commit is contained in:
24
start.sh
Executable file
24
start.sh
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
# 创建输出文件夹
|
||||
|
||||
#wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
|
||||
|
||||
#chmod +x Miniconda3-latest-Linux-x86_64.sh -y
|
||||
|
||||
#./Miniconda3-latest-Linux-x86_64.sh -y
|
||||
|
||||
#source ~/.bashrc -y
|
||||
|
||||
#conda config --set show_channel_urls yes
|
||||
|
||||
#conda env create -f environment.yml
|
||||
|
||||
#conda create -n petshy python=3.9 -y
|
||||
conda init
|
||||
|
||||
source ~/.bashrc
|
||||
|
||||
conda activate petshy
|
||||
echo "当前激活的环境:$(conda info --envs | grep '*' | awk '{print $1}')"
|
||||
python --version
|
||||
conda env update --file environment.yml - y
|
||||
Reference in New Issue
Block a user