In setup.sh
change the line
pip install -r requirements.txt
to
pip2 install -r requirements.txt
As wsgiref only works with python 2 and as soon as the user install python 3 and upgrade pip, the pip automatically points to python 3 rather than python 2. This creates error while install wsgiref library.
pip2 will install the dependencies in python 2's packages folder
In setup.sh change the line
pip install -r requirements.txt
topip2 install -r requirements.txt
As wsgiref only works with python 2 and as soon as the user install python 3 and upgrade pip, the pip automatically points to python 3 rather than python 2. This creates error while install wsgiref library. pip2 will install the dependencies in python 2's packages folder