Postgis / Geodjango: Cannot determine PostGIS version for database

后端 未结 5 1755
天涯浪人
天涯浪人 2021-02-01 16:32

I\'m attempting to launch a GeoDjango app. I\'ve installed Postgres & PostGIS using brew on Lion. I created a database using template_postgis: createdb -T template_pos

5条回答
  •  遇见更好的自我
    2021-02-01 16:55

    And in case the previous select returns an error, it may be that one particular version of PostGIS was installed on that database, that you updated Postgres.app to a newer version, that bundles a newer version of PostGIS. For example, after the recent update from Postgis 2.0 to 2.1

    In that case, you can make a migration after copying back some libraries, like described in this ticket

提交回复
热议问题