Python/알면 쓸모있는 잡다한 코드

faiss ERROR: Could not find a version that satisfies the requirement faiss (from versions: none)

joannekim0420 2026. 1. 1. 01:32
728x90

 

pip install faiss-gpu-cu12 # CUDA 12.x, Python 3.8+
pip install faiss-gpu-cu11 # CUDA 11.x, Python 3.8+
pip install faiss-gpu # Python 3.6-3.10

conda install -c conda-forge faiss-gpu  # chatgpt 답변

 

위에 방법을 다 해봤는데도 여전히 해결이 안됨.

 

그러나 chatgpt 에서 " 공식 Anaconda 패키지 페이지에서도 이 설치법을 안내해. Anaconda+1" 라고 안내됨.

 

https://anaconda.org/channels/conda-forge/packages/faiss-gpu/overview

 

faiss-gpu - conda-forge | Anaconda.org

Faiss is a library for efficient similarity search and clustering of dense vectors. It contains algorithms that search in sets of vectors of any size, up to ones that possibly do not fit in RAM. It also contains supporting code for evaluation and parameter

anaconda.org

 

그래서 실제로 이 안에 들어가서

conda install conda-forge::faiss-gpu==1.9.0

 

홈페이지에 나온 명령어대로 하니까 드디어 설치 제대로 됨

728x90