faiss를 Windows에 설치하기

 

글. 수알치 오상문

 

pip install faiss 또는 conda install faiss 명령으로 설치하면 아래 에러가 발생하는 경우,

 

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

또는

PackagesNotFoundError: The following packages are not available from current channels: - faiss

 

이 경우에 다음처럼 설치를 시도하자. (anaconda 환경)

 

1) conda prompt 창을 연다.

 

2) 다음 명령으로 설치한다.

conda install -c conda-forge faiss-cpu     <-- cpu 지원 버전

conda install -c conda-forge faiss-gpu     <-- gpu 지원 버전

 

 

anaconda 환경이 아닌 경우 다음처럼 시도해본다.

 

1) pip install numpy     <-- numpy가 없는 경우

2) pip install faiss-cpu

 

 

반응형

+ Recent posts