Skip to content
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

Faiss import fails with pip install #984

Closed
2 of 4 tasks
shekkizh opened this issue Oct 11, 2019 · 8 comments
Closed
2 of 4 tasks

Faiss import fails with pip install #984

shekkizh opened this issue Oct 11, 2019 · 8 comments
Labels

Comments

@shekkizh
Copy link

Summary

Installed faiss on both Linux/ MAC OS platform via pip install. Importing the package ends with an ImportError: No module named _swigfaiss error

Platform

Linux (Mint 19.2) /MAC OS Latest version

OS:

Faiss version:
1.5.3
Faiss compilation options:

Running on:

  • CPU
  • GPU

Interface:

  • C++
  • Python

Reproduction instructions

image

@mdouze mdouze added the install label Oct 14, 2019
@beauby
Copy link
Contributor

beauby commented Oct 15, 2019

The pip package is not official. Could you try using conda?

@alup
Copy link

alup commented Oct 18, 2019

Do you have any plans to support official pip installation in the future?

@Cantoria
Copy link

Cantoria commented Nov 6, 2019

try this:
pip install faiss-cpu

@VETURISRIRAM
Copy link

Works fine when using a conda env.

@mdouze
Copy link
Contributor

mdouze commented Dec 2, 2019

No activity, closing.

@QROST
Copy link

QROST commented Aug 3, 2023

would you support pip install faiss-gpu please?

@mdouze
Copy link
Contributor

mdouze commented Aug 3, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants
@alup @beauby @shekkizh @QROST @Cantoria @mdouze @VETURISRIRAM and others