hwchase17 / notion-qa

MIT License
2.13k stars 374 forks source link

faiss.loader: Could not load library with AVX2 support due to #21

Open nsbuttar opened 1 year ago

nsbuttar commented 1 year ago

Hi All,

I have encountered an issue with running the code. Was wondering if someone already has an answer.

Using Visual Studio Code, python.

Any help will be greatly appreciated.

2023-04-07 19:01:39.162 INFO faiss.loader: Loading faiss with AVX2 support. 2023-04-07 19:01:39.162 INFO faiss.loader: Could not load library with AVX2 support due to: ModuleNotFoundError("No module named 'faiss.swigfaiss_avx2'") 2023-04-07 19:01:39.163 INFO faiss.loader: Loading faiss. 2023-04-07 19:01:39.179 INFO faiss.loader: Successfully loaded faiss. Traceback (most recent call last): File "e:\notion-qa\main.py", line 15, in store = pickle.load(f) ^^^^^^^^^^^^^^ File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.752.0_x64qbz5n2kfra8p0\Lib\pathlib.py", line 873, in new__ raise NotImplementedError("cannot instantiate %r on your system" NotImplementedError: cannot instantiate 'PosixPath' on your system

xkasberg commented 1 year ago

This is actually a FAISS issue not a Langchain issue