I'm trying to install PostgreSQL with its PostGIS extension on Mac. The installation happens in two parts : 1) PostgreSQL and 2) PostGIS through the stack builder. The first phase goes smoothly, but the second phase returns the following error at the beginning of the installation of PostGIS:
I trying installing it with the latest version of PostgreSQL as well (version 12), and I get the same error. Any idea what is happening here?
Postgis is easily installed from apt. Depending on which version of Ubuntu you are using, and which repositories you have configured, these commands will install PostGIS 1.5, or 2. x. You can find the version installed by issuing a select PostGIS_full_version(); query with psql or another tool.
You can do this from within pgAdmin or via psql -U [superuser] [database] from a command line. Alternately for the command adverse; as a superuser; from within pgAdmin right click on your database's Extensions and select New Extension. Then in the drop down associated with Name select the postgis* extensions needed.
I have the same issue when I install PostGIS by Stack Builder on MacOS. After many times trying to install/uninstall PostGIS. Finally, I installed it successfully by manual installation. I think this issue caused by your MacOS doesn't have or conflict in the default app for extracting .zip file.
I have fixed it by install manually, like the following:
/Users/yourUserName
)edb_postgis_...
)Finally, everything is done! You have installed it successfully!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With