Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing Vectordb Bench breaks installation #409

Open
nsai1 opened this issue Nov 19, 2024 · 0 comments
Open

Customizing Vectordb Bench breaks installation #409

nsai1 opened this issue Nov 19, 2024 · 0 comments
Assignees

Comments

@nsai1
Copy link

nsai1 commented Nov 19, 2024

Hello,

I am trying to customize my index creation in the pgvector.py code.
When i build my code with pip install -e '.[pgvector]' the build completes successfully.

Successfully built vectordb-bench
Installing collected packages: vectordb-bench
Successfully installed vectordb-bench-0.0.17.dev0+g1ab46dd.d20241118 

But when I run the vectordbbench --help command I get the following error

File "/usr/local/bin/vectordbbench", line 5, in <module> 
     from vectordb_bench.cli.vectordbbench import cli
File "/VectorDBBench/vectordb_bench/cli/vectordbbench.py", line 1, in <module> 
     from ..backend.clients.pgvector.cli import PgVectorHNSW
File "/VectorDBBench/vectordb_bench/backend/clients/pgvector/cli.py", line 9, in <module> 
     from ....cli.cli import (
File "/VectorDBBench/vectordb_bench/cli/cli.py", line 22, in <module> 
     from .. import config
 ImportError: cannot import name 'config' from 'vectordb_bench' (unknown location) 

This happens even if i build an unchanged repo with the pip install -e '.[pgvector]' command.

@XuanYang-cn XuanYang-cn self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants