TL;DR
Install Postgres 9.6, and then:
sudo pg_dropcluster 9.6 main --stop
sudo service postgresql stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main| """ | |
| Standalone python script for QGIS3 on OSX. | |
| """ | |
| import os | |
| import sys | |
| # Define plugin locations from QGIS3 | |
| sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/') | |
| sys.path.append('/Applications/QGIS3.app/Contents/Resources/python/plugins') | |
| # Define Qt5 plugin path since Qt5 can't find it |
TL;DR
Install Postgres 9.6, and then:
sudo pg_dropcluster 9.6 main --stop
sudo service postgresql stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main