From: Ritu Sood Date: Fri, 29 Jan 2021 18:31:54 +0000 (-0800) Subject: get-pip.py error on Python 2.7 X-Git-Tag: 0.8.0~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=7c6084bc79697852367a039b3e40d369fbe4b94c;p=multicloud%2Fk8s.git get-pip.py error on Python 2.7 invalid syntax error when KUD is deployed sys.stderr.write(f"ERROR: {exc}") SyntaxError: invalid syntax Issue-ID: MULTICLOUD-1255 Signed-off-by: Ritu Sood Change-Id: Ia4ecbad5735617a5606cbce2ed93a58cb7322cb5 --- diff --git a/kud/hosting_providers/vagrant/installer.sh b/kud/hosting_providers/vagrant/installer.sh index 43638b4f..8211fa31 100755 --- a/kud/hosting_providers/vagrant/installer.sh +++ b/kud/hosting_providers/vagrant/installer.sh @@ -44,7 +44,7 @@ function _install_pip { sudo -E pip install --no-cache-dir --upgrade pip else sudo apt-get install -y python-dev - curl -sL https://bootstrap.pypa.io/get-pip.py | sudo python + curl -sL https://bootstrap.pypa.io/2.7/get-pip.py | sudo python fi }