pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: soonil115 (@soonil115) <noreply+soonil115@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #797: Error installing pgvector on Windows
Date: Mon, 25 Aug 2025 10:13:01 +0000
Message-ID: <gh-pgvector-pgvector-797-c3219656655@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-797@github.com>
References: <gh-pgvector-pgvector-797@github.com>

I had the same problem, this was my solution:

**Run CMD as an administrator.**

**cd C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build**
**vcvars64.bat**
(When I run vcvars64.bat from File Explorer, CMD appears and then closes immediately.)

set "PGROOT=C:\Program Files\PostgreSQL\17"
cd %TEMP%
git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install


The build was successful with Visual Studio 2022 Professional(vcvars64.bat) and PostgreSQL 17.6 in Windows 11

view thread (6+ messages)

Message-ID: <gh-pgvector-pgvector-797-c3219656655@github.com>
Permalink:  ../gh-pgvector-pgvector-797-c3219656655@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox