windows安装postgres的vector插件

条件

pg:官网下载

vector源代码:git上下载:GitHub - pgvector/pgvector: Open-source vector similarity search for Postgres · GitHub

x64 Native Tools Command Prompt for VS version (我这里是2022)

命令执行

复制代码
--指定你的tool位置,用call唤起
call "D:\Program Files\Microsoft Visual Studio\2022\Community\"
--指定pg位置
set "PGROOT=C:\Program Files\PostgreSQL\18"  
--找一个目录,用于放vector的代码
cd %TEMP% 
--下载代码
git clone --branch v0.8.2 https://github.com/pgvector/pgvector.git cd pgvector --版本可以指定
--在代码根目录有.win文件,作为命令的执行目标
nmake /F Makefile.win
nmake /F Makefile.win install
相关推荐
无奈笑天下4 小时前
Wine适配Windows程序常见故障标准处理流程
linux·运维·服务器·windows
广东程序猿小展4 小时前
PotPlayer 播放 4K 视频卡顿怎么办(硬解与渲染设置)
windows·工具·软件
xx z1 天前
Radmin LAN 怎么联机(虚拟局域网建房与加入教程)
windows·工具·软件
广东程序猿小展1 天前
谷歌相机配置文件怎么导入(GCam 配置导入与不生效排查)
windows·工具·软件
李小白杂货铺2 天前
Windows 桌面 GUI 原型快速开发技术选型指南(Mac 开发 + Windows 交付场景)
windows·原型·gui·原型开发·技术选型·快速开发·技术路线
承渊政道2 天前
magic-resume简历工具教程:Windows部署、在线编辑与远程访问
windows·远程访问·在线编辑·简历制作·工具教程·magic-resume
观察员3 天前
告别频繁锁屏:5行 PowerShell 脚本实现 Windows 自动防休眠
windows·命令行
Funlang3 天前
在 Windows 95 上写前端
前端·javascript·windows
一切皆有可能!!3 天前
【SoduWork测评】本机跑源码,找到并修了7个Bug
windows·开源·bug·ai编程·soduwork