-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 fails to import on python==3.10.15 #3943
Comments
me too |
I install faiss using: conda install pytorch::faiss-gpu and encounter the same error |
Hi, for me to sanity check, can you paste the steps you used to install? Following https://github.com/facebookresearch/faiss/wiki/Installing-Faiss, I didn't see the issue, but my conda env is already set up. I tried also:
without errors |
@mnorris11 I followed your installation method and was able to import the "faiss" package successfully. However, when I run the program, I get an error that there is no "StandardGpuResources" module. Subsequently, I was using the "conda install pytorch::faiss-gpu" command to install the faiss-gpu version, and when I imported the faiss package, I had the following problem:
|
I tried these steps and could not reproduce with a fresh conda env:
This is on CentOS. This does not work for you? |
@mnorris11
|
Can you paste your |
FYI there is also this ongoing issue: #3925 (comment) |
Summary
Platform
OS: Ubuntu 20.04.6 LTS
Faiss version: 1.9.0
Installed from: anaconda
Faiss compilation options:
Running on:
Interface:
Reproduction instructions
The text was updated successfully, but these errors were encountered: