From: hyr77 (@hyr77) <noreply+hyr77@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #797: Error installing pgvector on Windows
Date: Wed, 11 Jun 2025 21:58:18 +0000
Message-ID: <gh-pgvector-pgvector-797-c2964398059@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:
**Use the “**x64** Native Tools Command Prompt for VS” (**not the x86 counterpart**!).**
**C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat**
The build was successful with vcvars64.bat and psql (PostgreSQL) 17.5:
_git clone --branch v0.8.0 https://github.com/pgvector/pgvector.git
cd pgvector
nmake /F Makefile.win
nmake /F Makefile.win install_
Some weird bugs popped up with the x86 version.