Skip to content

Commit

Permalink
🐛 fix: 修复python换源
Browse files Browse the repository at this point in the history
  • Loading branch information
buyfakett committed Nov 9, 2023
1 parent 1b92310 commit 9056f0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ function install_python3(){
pip3 --version

if [ "${is_mainland}"x == "1"x ];then
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
pip3 install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple/
fi

cd ${pwd}
Expand Down

0 comments on commit 9056f0f

Please sign in to comment.