diff --git a/shadowsocksR.sh b/shadowsocksR.sh index a595e24..6695d7a 100644 --- a/shadowsocksR.sh +++ b/shadowsocksR.sh @@ -302,10 +302,10 @@ pre_install(){ char=`get_char` # Install necessary dependencies if check_sys packageManager yum; then - yum install -y python python-devel openssl openssl-devel curl wget unzip gcc automake autoconf make libtool + yum install -y python python-devel python-setuptools openssl openssl-devel curl wget unzip gcc automake autoconf make libtool elif check_sys packageManager apt; then apt-get -y update - apt-get -y install python python-dev openssl libssl-dev curl wget unzip gcc automake autoconf make libtool + apt-get -y install python python-dev python-setuptools openssl libssl-dev curl wget unzip gcc automake autoconf make libtool fi cd ${cur_dir} }