shell 安装python模块
!/bin/bash
安装python第三方库
which pip
libs=(netaddr)
pip install --upgrade pip -i https://pypi.douban.com/simple/
for i in ${libs[@]};
do
echo " ---------- 正在安装 ---------------> $i "
sudo /usr/local/bin/pip install $i -i https://pypi.douban.com/simple/;
done
希望你眼眸有星辰,心中有山海,从此以梦为马,不负韶华