Could not import faiss python package. Please install it with pip install faiss or pip install faiss-cpu (depending on Python version).
init() got an unexpected keyword argument 'autodetect_encoding'
按照提示
pip install faiss-cpu
安装了 faiss之后依然报错
Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open vector_store/index.faiss for reading: No such file or directory
init() got an unexpected keyword argument 'autodetect_encoding'
一开始报错
Could not import faiss python package. Please install it with
pip install faiss
orpip install faiss-cpu
(depending on Python version). init() got an unexpected keyword argument 'autodetect_encoding'按照提示 pip install faiss-cpu 安装了 faiss之后依然报错
Error in faiss::FileIOReader::FileIOReader(const char*) at /project/faiss/faiss/impl/io.cpp:67: Error: 'f' failed: could not open vector_store/index.faiss for reading: No such file or directory init() got an unexpected keyword argument 'autodetect_encoding'
请问有什么解决办法吗?