Skip to content

Commit

Permalink
change pip source
Browse files Browse the repository at this point in the history
  • Loading branch information
cosven committed Feb 29, 2016
1 parent 166205e commit cb8e964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ echo "安装系统依赖完毕"
echo "准备安装相关python依赖"
pip3 --version 1>/dev/null 2>&1
if [ $? -eq 0 ]; then
sudo pip3 install -r requirements.txt -i http://pypi.douban.com/simple/
sudo pip3 install -r requirements.txt
else
echo "您的系统目前没有安装pip3"
sudo apt-get install python3-pip
echo "install pip for python3"
sudo pip3 install -r requirements.txt -i http://pypi.douban.com/simple/
sudo pip3 install -r requirements.txt
fi
echo "---------------------------"

Expand Down

0 comments on commit cb8e964

Please sign in to comment.