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
반응형
'Python 활용' 카테고리의 다른 글
Pygame 간단한 예제 (0) | 2022.05.17 |
---|---|
python, 프로그램(프로세스) 실행 확인 및 PID 검사 예제 (0) | 2022.05.10 |
파이썬 소켓 프로그래밍 - 클라이언트/서버 예제 (0) | 2022.02.14 |
파이썬, 항목 유사도 검사 (0) | 2022.02.11 |
Python , GPU 모니터링 GPUtil 예제 (0) | 2022.02.10 |