Python and Pip paths need to be hardcoded into gitlab.yml/setup.sh
Currently python and pip installed on UAT are by default python2
Thus if any project deploys python 3 projects that needs to install multiple packages, then setup.sh ends up using python2 unless the setup.sh explicitly mentions the python 3 path for python/pip
a setup.sh file trying to install a library in a python3 project would typically include a requirements.txt file and
pip install -r requirements.txt - this would invoke python2's pip and the project on UAT would throw import errors.
Conversely if the setup.sh file mentions
/home/ubuntu/anaconda3/bin/pip install -r requirements.txt the python3 version of pip is used.