我正在尝试在我的Mac上安装Postgres向量扩展,但出现了以下问题:
这是我所做的:
ERROR: extension "vector" has no installation script nor update path for version "0.4.0".
这是我所做的:
- 按照github上显示的安装指南进行操作:
但是当我运行 CREATE EXTENSION vector;
时,出现了一个错误:
ERROR: could not open extension control file "/Applications/Postgres.app/Contents/Versions/13/share/postgresql/extension/vector.control": No such file or directory
我使用以下命令将pgvector的内容复制到postgresql/extension中:
sudo cp -r ~/Downloads/pgvector/* /Applications/Postgres.app/Contents/Versions/13/share/postgresql/extension/
尝试运行CREATE EXTENSION vector;
,现在出现了错误:
ERROR: extension "vector" has no installation script nor update path for version "0.4.0".
这里有人遇到过这个问题吗?
顺便说一下,我正在使用 PostgreSQL 13.10