Skip to content
Permalink
Browse files
bug fix: specify venv version
  • Loading branch information
usmannasir committed Feb 11, 2020
1 parent cb254ff commit ef317b390d91cee350e9e3f0c4a5fa23b0910dac
Showing 1 changed file with 12 additions and 3 deletions.
@@ -517,7 +517,11 @@ if [[ $DEV == "ON" ]] ; then
dnf install python3 -y
check_return
fi
pip3.6 install virtualenv
if [[ $SERVER_OS == "CentOS" ]] ; then
pip3.6 install virtualenv==16.7.9
else
pip3.6 install virtualenv
fi
check_return
fi
fi
@@ -1130,7 +1134,12 @@ if [[ $PROVIDER == "Alibaba Cloud" ]] ; then
pip install setuptools==40.8.0
fi

pip install virtualenv
if [[ $SERVER_OS == "CentOS" ]] ; then
pip install virtualenv==16.7.9
else
pip install virtualenv
fi

virtualenv --system-site-packages /usr/local/CyberPanel
source /usr/local/CyberPanel/bin/activate
rm -rf requirements.txt
@@ -1588,4 +1597,4 @@ pip_virtualenv

system_tweak

main_install
main_install

0 comments on commit ef317b3

Please sign in to comment.