jina-ai / annlite

⚡ A fast embedded library for approximate nearest neighbor search
Apache License 2.0
216 stars 22 forks source link

ImportError in tests directory #218

Closed matchyc closed 1 year ago

matchyc commented 1 year ago

ImportError occurs when users execute test files in annlite/tests/ directory.

Reproduce:

git clone
cd annlite
python setup.py install
cd tests/
pytest
# Error occurs
ImportError:  cannot import name 'pq_bind' from partially initialized module 'annlite'
jemmyshin commented 1 year ago

it seems that the dependency hasn't been installed correctly, can you try cd annlite and then pip install -e .?

matchyc commented 1 year ago

it seems that the dependency hasn't been installed correctly, can you try cd annlite and then pip install -e .?

Sorry for the late reply, it has already been solved!