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

PackagesNotFoundError #3324

Open
2 of 4 tasks
austinmw opened this issue Mar 27, 2024 · 1 comment
Open
2 of 4 tasks

PackagesNotFoundError #3324

austinmw opened this issue Mar 27, 2024 · 1 comment

Comments

@austinmw
Copy link

Summary

Platform

OS: Ubuntu

Faiss version: None yet

Installed from: attempting conda

Running on:

  • CPU
  • GPU

Interface:

  • C++
  • Python

Reproduction instructions

conda create -n ft python=3.10
conda activate ft
# attempt to install faiss-gpu
conda install -c pytorch -c nvidia faiss-gpu=1.8.0

Error:

❯ conda install -c pytorch -c nvidia faiss-gpu=1.8.0

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

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

  • faiss-gpu=1.8.0

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.

@mlomeli1
Copy link
Contributor

mlomeli1 commented Mar 28, 2024

Hi, I can't repro this @austinmw . I have Ubuntu 22.04.2, I tried exactly the same commands and I can install faiss-gpu successfully:

conda create -n tester_env python=3.10
...
conda activate tester_env
conda install -c pytorch -c nvidia faiss-gpu=1.8.0
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.1
  latest version: 24.3.0

Please update conda by running

    $ conda update -n base -c defaults conda



## Package Plan ##

  environment location: /private/home/marialomeli/.conda/envs/tester_env

  added / updated specs:
    - faiss-gpu=1.8.0


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    faiss-gpu-1.8.0            |py3.10_h4c7d538_0_cuda12.1.1         5.0 MB  pytorch
    libfaiss-1.8.0             |h046e95b_0_cuda12.1.1       268.9 MB  pytorch
    packaging-23.2             |  py310h06a4308_0         146 KB
    ------------------------------------------------------------
                                           Total:       274.0 MB

The following NEW packages will be INSTALLED:

  blas               pkgs/main/linux-64::blas-1.0-mkl
  cuda-cudart        nvidia/linux-64::cuda-cudart-12.4.99-0
  faiss-gpu          pytorch/linux-64::faiss-gpu-1.8.0-py3.10_h4c7d538_0_cuda12.1.1
  intel-openmp       pkgs/main/linux-64::intel-openmp-2023.1.0-hdb19cb5_46306
  libcublas          nvidia/linux-64::libcublas-12.4.2.65-0
  libfaiss           pytorch/linux-64::libfaiss-1.8.0-h046e95b_0_cuda12.1.1
  mkl                pkgs/main/linux-64::mkl-2023.1.0-h213fc3f_46344
  mkl-service        pkgs/main/linux-64::mkl-service-2.4.0-py310h5eee18b_1
  mkl_fft            pkgs/main/linux-64::mkl_fft-1.3.8-py310h5eee18b_0
  mkl_random         pkgs/main/linux-64::mkl_random-1.2.4-py310hdb19cb5_0
  numpy              pkgs/main/linux-64::numpy-1.26.4-py310h5f9d8c6_0
  numpy-base         pkgs/main/linux-64::numpy-base-1.26.4-py310hb5e798b_0
  packaging          pkgs/main/linux-64::packaging-23.2-py310h06a4308_0
  tbb                pkgs/main/linux-64::tbb-2021.8.0-hdb19cb5_0


Proceed ([y]/n)? 

in your error log, it looks like the conda satisfiability solver found some conflicts. Could you double check if you are not creating the new env on top of an existing env that causes this?

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

2 participants