Commit ac8d3c91 by Xiang Junfu

Add -H option to sudo pip install after upgrade pip to the lastest version

parent ae91ce3f
......@@ -27,7 +27,7 @@ sudo apt-get upgrade -y
##
sudo apt-get install -y build-essential software-properties-common python-software-properties curl git-core libxml2-dev libxslt1-dev python-pip python-apt python-dev
sudo pip install --upgrade pip
sudo pip install --upgrade virtualenv
sudo -H pip install --upgrade virtualenv
## Did we specify an openedx release?
if [ -n "$OPENEDX_RELEASE" ]; then
......@@ -54,7 +54,7 @@ git checkout $CONFIG_VER
## Install the ansible requirements
##
cd /var/tmp/configuration
sudo pip install -r requirements.txt
sudo -H pip install -r requirements.txt
##
## Run the edx_sandbox.yml playbook in the configuration/playbooks directory
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment