# Install python3
sudo apt-get install python3 python3-dev virtualenv
# Install psycopg2
sudo apt-get install python3-psycopg2 binutils libproj-dev gdal-bin gettext
# Create virtual environment
virtualenv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt