I am working on lanchain and had to store data in vector DB. I was following this document to install pgvector on windows and i was setting the PGROOT env variable, but even after setting the env variable by multiple methods the CMD nmake /F Makefile.win install keep throwing the error
Makefile.win (28): fatal error U1050: PGROOT is not set Stop.
Makefile.win (28): fatal error U1050: PGROOT is not set Stop
124 Views Asked by Alby At
1
There are 1 best solutions below
Related Questions in POSTGRESQL
- Only the first SQL script gets executed inside Docker Postgres container
- Compare fields in two tables
- Hibernate ClobJdbcType bindings: what are the diferences?
- Postgres && statement Error in Mybatis Mapper?
- Can this query be optimized? (Choosing a random row to insert, that excludes previously inserted Rows)
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- How to copy data from SQLite to postgreSQL?
- PGAdmin4 configured behind a reverse proxy but unable to connect to Postgresql server
- Updates to pgsodium encrypted values don't use specified key_id
- Connecting to Postgres running in a Docker container using psql
- Can't connect to local postgresql server from my docker container
- Django Arrayfield migration to cloud sql (Postgresql) not creating the column
- Get list of matching keywords for each post
- docker-compose can't reset postgresql database
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in PGVECTOR
- Recommended approach for managing entries in a vector database when the embeddings are identical but their metadata differs?
- Can I store vectors with more precision in pgvector?
- Langchain4j pgvector implementation as an EmbeddingStore?
- Getting sqlalchemy.orm.exc.UnmappedInstanceError when writing OpenAI vector embedding to Postgres database using FastAPI post route
- How to deal with different vector-dimensions for embeddings and search with pgvector?
- DDEV: How can I add the pgvector extension to the postgres container?
- Postgresql and pgvector: the extention vector is not available
- With supabase, I am doing a pg vector search, and when I have too many documents, it returns no results. Ideas?
- Performing vector search with sqlalchemy and pgvector
- Error with PostgreSQL as a Vector Database
- While installing pgvector extension to PostgreSQL in Windows I am getting error with make command
- How to get better performance out of embedding models for retrieval/semantic search?
- SELECT query not using pgvector (HNSW) index
- What are suitable vector.control versions for postgresql12?
- Reuse the same expensive calculations in select and filter statement in sqlalchemy
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
A workaround I did that worked for me.
I located
!ifndef PGROOTin the Makefile.win file in the PGVector folder that I cloned from the git (Link) to be installed and set the variable explicitly like for example:PGROOT = C:\Program Files\PostgreSQL\16(my pg version was 16), before the!ifndef PGROOTline. This is a workaround if you are not able to set the env variable in Windows. I tried setting,[System.Environment]::SetEnvironmentVariable($envVariableName, $envVariableValue, [System.EnvironmentVariableTarget]::User)as well.