ERROR: could not open extension control file "/usr/share/postgresql/9.1/extension/postgis.control":No such file or directory
当我尝试CREATE EXTENSION postgis;时得到的是什么?
我正在努力让PostGIS正常工作,但是Postgresql似乎找不到扩展。我的服务器运行在CentOS 8上,Postgresql是版本12,我首先通过dnf module enable postgresql:12安装了Postgresql 12。之后,我安装了PostGIS,并遵循了PostGIS网站()上的描述。但是当我试图运行CREATE EXTENSION postgis;时,我得到了错误ERROR: could not access fi
我正在尝试使用Postgis设置Geodjango,但无法在数据库中启用Postgis扩展。我正在遵循上的设置,但当我点击此步骤时:我得到以下错误:
ERROR: could not open extension controlfile "/usr/local/Cellar/postgresql/9.3.1/share/postgresql/ext