zilliztech / VectorDBBench

A Benchmark Tool for VectorDB
MIT License
561 stars 151 forks source link

ImportError: cannot import name 'config' from 'vectordb_bench' (unknown location) #408

Closed pankaj2590 closed 1 week ago

pankaj2590 commented 1 week ago

I am trying to install and run test server. I installed qdrant tests using following commands:

pip install -e '.[test]' pip install -e '.[qdrant]' << I want to run benchmarks for qdrant-cloud

Later trying, following commands to run and getting error: _(vdbenv) ubuntu@master:~/VectorDBBench$ init_bench Traceback (most recent call last): File "/home/ubuntu/.pyenv/versions/vdbenv/bin/init_bench", line 5, in from vectordb_bench.main import main File "/home/ubuntu/VectorDBBench/vectordb_bench/main.py", line 5, in from . import config ImportError: cannot import name 'config' from 'vectordbbench' (unknown location) (vdbenv) ubuntu@master:~/VectorDBBench$****

What could be the issue here and how can we avoid it ?

pankaj2590 commented 1 week ago

After deleting the pyenv, working fine.