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

The version installed with conda is inconsistent with the version in the code #882

Closed
3 of 6 tasks
luochenxi opened this issue Jul 4, 2019 · 3 comments
Closed
3 of 6 tasks
Labels

Comments

@luochenxi
Copy link

luochenxi commented Jul 4, 2019

Summary

Hi,@beauby @mdouze
This releases version#712 is what I like, I want to upgrade it.
But found during the upgrade process,the version installed with conda is inconsistent with the version in the code.

Platform

OS: macOS 10.14.1

Installed info:

## Package Plan ##

  environment location: /anaconda2

  added / updated specs:
    - faiss-cpu


The following NEW packages will be INSTALLED:

  blas               pkgs/main/osx-64::blas-1.0-mkl
  faiss-cpu          pytorch/osx-64::faiss-cpu-1.5.3-py27h04f5b5a_0
  libgfortran        pkgs/main/osx-64::libgfortran-3.0.1-h93005f0_2
  mkl_fft            pkgs/main/osx-64::mkl_fft-1.0.12-py27h5e564d8_0
  mkl_random         pkgs/main/osx-64::mkl_random-1.0.2-py27h27c97d8_0
  numpy              pkgs/main/osx-64::numpy-1.16.4-py27hacdab7b_0
  numpy-base         pkgs/main/osx-64::numpy-base-1.16.4-py27h6575580_0


Proceed ([y]/n)? y

Preparing transaction: done
Verifying transaction: done
Executing transaction: done

Running on:

  • CPU
  • GPU

Interface:

  • C++
  • Python

Code version:

Python 2.7.16 |Anaconda, Inc.| (default, Mar 14 2019, 16:24:02)
Type "copyright", "credits" or "license" for more information.

IPython 5.8.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import faiss

In [2]: faiss.__version__
Out[2]: '1.5.2'

Instructions

I want to show v1.5.3 in the code and use the features:

of that version.

What do I need to do for this?
Thank you very much!

@beauby beauby added the install label Jul 4, 2019
@beauby
Copy link
Contributor

beauby commented Jul 4, 2019

The version reported is wrong, the conda package is indeed a build of v1.5.3, with all the new features. I will upload new packages with corrected version number.

@beauby beauby closed this as completed Jul 4, 2019
@juve
Copy link

juve commented Aug 5, 2019

@beauby I think some of the conda packages still have inconsistent versions:

$ conda create -n faiss python=3.6 pytorch::faiss-cpu=1.5.3
...
$ conda run -n faiss python -c "import faiss; print(faiss.__version__)"
1.5.2

@beauby
Copy link
Contributor

beauby commented Aug 5, 2019

Thanks for the reminder @juve – will fix it this week.

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

No branches or pull requests

3 participants