Faiss: ImportError: No module named faiss

Created on 15 Mar 2017  Â·  2Comments  Â·  Source: facebookresearch/faiss

i have a problem when i follow the install steps of faiss in step 2

Real-life test
--------------

The following script extends the demo_sift1M test to several types of
indexes:

  python python/demo_auto_tune.py

It will cycle through a few types of indexes and find optimal
operating points. You can play around with the types of indexes.

i get the information about this.

python python/demo_auto_tune.py
Traceback (most recent call last):
  File "python/demo_auto_tune.py", line 19, in <module>
    import faiss
ImportError: No module named faiss

thank you for your help!

Most helpful comment

Please do

export PYTHONPATH=.

because faiss.py is in the current directory.

All 2 comments

Please do

export PYTHONPATH=.

because faiss.py is in the current directory.

thanks~

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hashyong picture hashyong  Â·  3Comments

Ljferrer picture Ljferrer  Â·  3Comments

danny1984 picture danny1984  Â·  3Comments

zoe-cheung picture zoe-cheung  Â·  3Comments

xxllp picture xxllp  Â·  3Comments