Skip to content

Commit

Permalink
bug fix: specify venv version
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Feb 11, 2020
1 parent b531dca commit 89c1f89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cyberpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,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
Expand Down

0 comments on commit 89c1f89

Please sign in to comment.