Skip to content

Interactive interface for browsing global, full-resolution satellite imagery

add --user flag to overcome permissions issues #1212

Benjamin Kingd6194a953073
diff --git a/tasks/pythonInstall.sh b/tasks/pythonInstall.sh
index e68353e4b..7618a4f6f 100755
--- a/tasks/pythonInstall.sh
+++ b/tasks/pythonInstall.sh
@@ -4,11 +4,11 @@ if [ $1 = "linux" ]; then
# If is a linux machine try to run python2
if command -v python2 &>/dev/null; then
echo "Installing virtualenv with python2"
- python2 -m pip install virtualenv
+ python2 -m pip install --user virtualenv
python2 -m virtualenv .python
else
echo "Installing virtualenv with python"
- python -m pip install virtualenv
+ python -m pip install --user virtualenv
python -m virtualenv .python
fi
PATH=.python/bin:${PATH} pip install -r requirements.txt