Created
January 13, 2019 10:47
-
-
Save yiidtw/5a96bd6c359b44b6be340a9aa23b02d3 to your computer and use it in GitHub Desktop.
setup up python3 virtualenv on centos7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo yum install -y epel-release | |
sudo yum install -y python-pip python-virtualenv python-virtualenvwrapper | |
cat <<EOF >>$HOME/.bashrc | |
if [ -f /usr/bin/virtualenvwrapper.sh ]; then | |
export WORKON_HOME=~/.virtualenvs | |
source /usr/bin/virtualenvwrapper.sh | |
fi | |
EOF | |
source $HOME/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment