Faiss: conda install faiss-cpu -c pytorch - Not working

Created on 4 Apr 2018  Â·  6Comments  Â·  Source: facebookresearch/faiss

Summary

Platform

OS:

Faiss version:

Faiss compilation options:

Running on :

  • [x] CPU

Reproduction instructions

I am getting the below error any idea ?
`Solving environment: failed

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

faiss-cpu
Current channels:

https://conda.anaconda.org/pytorch/osx-64
https://conda.anaconda.org/pytorch/noarch
https://repo.continuum.io/pkgs/main/osx-64
https://repo.continuum.io/pkgs/main/noarch
https://repo.continuum.io/pkgs/free/osx-64
https://repo.continuum.io/pkgs/free/noarch
https://repo.continuum.io/pkgs/r/osx-64
https://repo.continuum.io/pkgs/r/noarch
https://repo.continuum.io/pkgs/pro/osx-64
https://repo.continuum.io/pkgs/pro/noarch
INFO: deactivate_clangxx_osx-64.sh made the following environmental changes:
-CLANGXX=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-clang++
-CXX=x86_64-apple-darwin13.4.0-clang++
-CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0
-DEBUG_CXXFLAGS=-Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none
INFO: deactivate_clang_osx-64.sh made the following environmental changes:
-AR=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-ar
-AS=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-as
-CC=x86_64-apple-darwin13.4.0-clang
-CFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe
-CHECKSYMS=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-checksyms
-CLANG=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-clang
-CODESIGN_ALLOCATE=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-codesign_allocate
-CPPFLAGS=-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9
-DEBUG_CFLAGS=-Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none
-INDR=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-indr
-INSTALL_NAME_TOOL=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-install_name_tool
-LD=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-ld
-LDFLAGS=-pie -headerpad_max_install_names
-LDFLAGS_CC=-Wl,-pie -Wl,-headerpad_max_install_names
-LIBTOOL=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-libtool
-LIPO=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-lipo
-NM=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-nm
-NMEDIT=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-nmedit
-OTOOL=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-otool
-PAGESTUFF=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-pagestuff
-RANLIB=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-ranlib
-REDO_PREBINDING=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-redo_prebinding
-SEGEDIT=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-segedit
-SEG_ADDR_TABLE=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-seg_addr_table
-SEG_HACK=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-seg_hack
-SIZE=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-size
-STRINGS=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-strings
-STRIP=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-strip
INFO: activate_clang_osx-64.sh made the following environmental changes:
+AR=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-ar
+AS=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-as
+CC=x86_64-apple-darwin13.4.0-clang
+CFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe
+CHECKSYMS=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-checksyms
+CLANG=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-clang
+CODESIGN_ALLOCATE=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-codesign_allocate
+CPPFLAGS=-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9
+DEBUG_CFLAGS=-Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none
+INDR=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-indr
+INSTALL_NAME_TOOL=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-install_name_tool
+LD=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-ld
+LDFLAGS=-pie -headerpad_max_install_names
+LDFLAGS_CC=-Wl,-pie -Wl,-headerpad_max_install_names
+LIBTOOL=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-libtool
+LIPO=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-lipo
+NM=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-nm
+NMEDIT=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-nmedit
+OTOOL=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-otool
+PAGESTUFF=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-pagestuff
+RANLIB=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-ranlib
+REDO_PREBINDING=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-redo_prebinding
+SEGEDIT=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-segedit
+SEG_ADDR_TABLE=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-seg_addr_table
+SEG_HACK=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-seg_hack
+SIZE=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-size
+STRINGS=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-strings
+STRIP=/Users//anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-strip
INFO: activate_clangxx_osx-64.sh made the following environmental changes:
+CLANGXX=/Users/
/anaconda3/envs/anacondav1/bin/x86_64-apple-darwin13.4.0-clang++
+CXX=x86_64-apple-darwin13.4.0-clang++
+CXXFLAGS=-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0
+DEBUG_CXXFLAGS=-Og -g -Wall -Wextra -fcheck=all -fbacktrace -fimplicit-none`

cant-repro install

All 6 comments

Closing this as I could not reproduce it. Feel free to add more info if you need help.

@kumarivin Could you try it again?

I've the same error

conda install -c pytorch faiss-cpu
Solving environment: failed

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

  • faiss-cpu

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

@beauby can you reopen it ?

It seems you are using windows. Faiss has not been ported to windows.

On Wed 15 May 2019 at 10:26, GillesBodart notifications@github.com wrote:

I've the same error

conda install -c pytorch faiss-cpu
Solving environment: failed

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

  • faiss-cpu

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

—
You are receiving this because you modified the open/close state.

Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/faiss/issues/394?email_source=notifications&email_token=AAQ46YSTCJD46D3QWMNGUILPVPCLZA5CNFSM4EY5ER72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVN5OJY#issuecomment-492558119,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQ46YT4IAH6X4FWTQB4NJTPVPCLZANCNFSM4EY5ER7Q
.

>

Lucas Hosseini
lucas.[email protected]

Indeed I'm on a windows machine thanks for the answer

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ilyakhov picture ilyakhov  Â·  3Comments

brunodoamaral picture brunodoamaral  Â·  3Comments

daniellevy picture daniellevy  Â·  3Comments

danny1984 picture danny1984  Â·  3Comments

hashyong picture hashyong  Â·  3Comments