-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: DLL load failed: The specified module could not be found. #45
Comments
|
Please specify
|
The recent fix was running. pip uninstall faiss-cpu Re-install new version pip install faiss-cpu |
remove 1.7.1 then install 1.7.2 solve the problem |
Still got the problem with version 1.7.2 Microsoft windows 11 Pro (base) C:\data\haystack>python --version (base) C:\data\haystack>pip install faiss-cpu ImportError Traceback (most recent call last) ~\anaconda3\lib\importlib_init_.py in import_module(name, package) ~\anaconda3\lib\importlib_bootstrap.py in _gcd_import(name, package, level) ~\anaconda3\lib\importlib_bootstrap.py in find_and_load(name, import) ~\anaconda3\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import) ~\anaconda3\lib\importlib_bootstrap.py in _load_unlocked(spec) ~\anaconda3\lib\importlib_bootstrap_external.py in exec_module(self, module) ~\anaconda3\lib\importlib_bootstrap.py in _call_with_frames_removed(f, *args, **kwds) ~\anaconda3\lib\site-packages\transformers\models\rag\modeling_rag.py in ~\anaconda3\lib\site-packages\transformers\models\rag\retrieval_rag.py in ~\anaconda3\lib\site-packages\faiss_init_.py in ~\anaconda3\lib\site-packages\faiss\loader.py in ~\anaconda3\lib\site-packages\faiss\swigfaiss.py in ImportError: DLL load failed while importing _swigfaiss: The specified module could not be found. The above exception was the direct cause of the following exception: RuntimeError Traceback (most recent call last) ~\anaconda3\lib\site-packages\haystack_init_.py in ~\anaconda3\lib\site-packages\haystack\pipelines_init_.py in ~\anaconda3\lib\site-packages\haystack\pipelines\base.py in ~\anaconda3\lib\site-packages\haystack\nodes_init_.py in ~\anaconda3\lib\site-packages\haystack\nodes\answer_generator_init_.py in ~\anaconda3\lib\site-packages\haystack\nodes\answer_generator\transformers.py in ~\anaconda3\lib\importlib_bootstrap.py in handle_fromlist(module, fromlist, import, recursive) ~\anaconda3\lib\site-packages\transformers\file_utils.py in getattr(self, name) ~\anaconda3\lib\site-packages\transformers\file_utils.py in getattr(self, name) ~\anaconda3\lib\site-packages\transformers\file_utils.py in _get_module(self, module_name) RuntimeError: Failed to import transformers.models.rag.modeling_rag because of the following error (look up to see its traceback): |
Were you able to solve this issue? Am facing the same problem. I created new conda environment and installed haystack and python, but having same issue. |
No. I gave up on faiss. |
UnsatisfiableError: The following specifications were found Specifications:
Your python: python=3.9 If python is on the left-most side of the chain, that's the version you've asked for. I got this warning after unsiatlling and installing new conda environment. The command i used was conda install faiss-cpu -c pytorch. Am planning to create one more conda environment by degrading conda environment. |
I was able to solve with new conda environment with 3.7 ver |
ImportError: DLL load failed: The specified module could not be found.
Can anyone help me with this? I've installed with pip install faiss-cpu and python version is 3.7.9
It's running good in colab, but not in local pc
I've installed library using pip install faiss-cpu, but while importing import faiss, it's returning error
The text was updated successfully, but these errors were encountered: