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 use depreciated tistutils Version classes #3025

Closed
2 tasks
kolergy opened this issue Aug 24, 2023 · 2 comments
Closed
2 tasks

Faiss use depreciated tistutils Version classes #3025

kolergy opened this issue Aug 24, 2023 · 2 comments

Comments

@kolergy
Copy link

kolergy commented Aug 24, 2023

Summary

Depreciation warning when using Faiss:
faiss/loader.py:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(numpy.version) >= "1.19":

Platform

OS: pop-os 22.04 LTS (ubuntu based)

Faiss version: faiss-cpu 1.7.4

Installed from: pip
Python 3.11.4
numpy 1.24.3

Faiss compilation options: ?

Running on:

  • [x ] CPU
  • GPU

Interface:

  • C++
  • [x ] Python

Reproduction instructions

load documents in a python 3.11.4 environement

@mdouze
Copy link
Contributor

mdouze commented Aug 28, 2023

TODO fix this for py > 3.8

@mlomeli1
Copy link
Contributor

This has been sorted in #3191, closing.

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

No branches or pull requests

3 participants