interpret icon indicating copy to clipboard operation
interpret copied to clipboard

Conda Installation issues on Python 3.7: Output in format: Requested package -> Available versions

Open progressEdd opened this issue 4 years ago • 4 comments

Hello, I understand that pip is the preferred method of installing packages. I'm writing this issue so that if anyone else who uses conda for their package manager to potentially follow along and potentially debug any issues I encounter.

System Settings

conda version using conda info

I replaced my account name with username

     active environment : interpret-conda
    active env location : C:\ProgramData\Anaconda3\envs\interpret-conda
            shell level : 2
       user config file : C:\Users\username\.condarc
 populated config files : C:\Users\username\.condarc
          conda version : 4.10.1
    conda-build version : 3.21.4
         python version : 3.6.12.final.0
       virtual packages : __win=0=0
                          __archspec=1=x86_64
       base environment : C:\ProgramData\Anaconda3  (writable)
      conda av data dir : C:\ProgramData\Anaconda3\etc\conda
  conda av metadata url : https://repo.anaconda.com/pkgs/main
           channel URLs : https://repo.anaconda.com/pkgs/main/win-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/win-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/msys2/win-64
                          https://repo.anaconda.com/pkgs/msys2/noarch
          package cache : C:\ProgramData\Anaconda3\pkgs
                          C:\Users\username\.conda\pkgs
                          C:\Users\username\AppData\Local\conda\conda\pkgs
       envs directories : C:\ProgramData\Anaconda3\envs
                          C:\Users\username\.conda\envs
                          C:\Users\username\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.10.1 requests/2.25.1 CPython/3.6.12 Windows/10 Windows/10.0.19041
          administrator : True
             netrc file : None
           offline mode : False

Steps to reproduce my issue

1. Create a new anaconda environment with python 3.7

conda create --name interpret-conda

2. Open the new environment and verify python 3.7 is installed

conda activate interpret-conda
conda install python=3.7

3. Install interpret with conda command

conda install -c interpretml interpret

terminal output

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

ResolvePackageNotFound:
  - salib[version='>=1.3.3']

4. install salib from conda forge

conda install -c conda-forge salib

terminal output

Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: C:\ProgramData\Anaconda3\envs\interpret-conda

  added / updated specs:
    - salib


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    cycler-0.10.0              |             py_2           9 KB  conda-forge
    freetype-2.10.4            |       h546665d_1         489 KB  conda-forge
    jbig-2.1                   |    h8d14728_2003          45 KB  conda-forge
    jpeg-9d                    |       h8ffe710_0         366 KB  conda-forge
    kiwisolver-1.3.1           |   py39h2e07f2f_1          58 KB  conda-forge
    lcms2-2.12                 |       h2a16943_0         882 KB  conda-forge
    lerc-2.2.1                 |       h0e60522_0         133 KB  conda-forge
    libblas-3.9.0              |            9_mkl         4.0 MB  conda-forge
    libcblas-3.9.0             |            9_mkl         4.0 MB  conda-forge
    libdeflate-1.7             |       h8ffe710_5          61 KB  conda-forge
    liblapack-3.9.0            |            9_mkl         4.0 MB  conda-forge
    libpng-1.6.37              |       h1d00b33_2         724 KB  conda-forge
    libtiff-4.3.0              |       h0c97f57_1         1.1 MB  conda-forge
    matplotlib-base-3.4.2      |   py39h581301d_0         7.3 MB  conda-forge
    mkl-2021.2.0               |     hb70f87d_389       183.8 MB  conda-forge
    numpy-1.21.0               |   py39h6635163_0         5.6 MB  conda-forge
    olefile-0.46               |     pyh9f0ad1d_1          32 KB  conda-forge
    openjpeg-2.4.0             |       hb211442_1         238 KB  conda-forge
    pandas-1.2.5               |   py39h2e25243_0        10.2 MB  conda-forge
    pillow-8.2.0               |   py39h1a9d4f7_1         784 KB  conda-forge
    pyparsing-2.4.7            |     pyh9f0ad1d_0          60 KB  conda-forge
    python-dateutil-2.8.1      |             py_0         220 KB  conda-forge
    salib-1.3.11               |             py_0         1.1 MB  conda-forge
    tbb-2021.2.0               |       h2d74725_0         138 KB  conda-forge
    tornado-6.1                |   py39hb82d6ee_1         654 KB  conda-forge
    zstd-1.5.0                 |       h6255e5f_0        1004 KB  conda-forge
    ------------------------------------------------------------
                                           Total:       227.0 MB

The following NEW packages will be INSTALLED:

  ca-certificates    conda-forge/win-64::ca-certificates-2021.5.30-h5b45459_0
  certifi            conda-forge/win-64::certifi-2021.5.30-py39hcbf5309_0
  cycler             conda-forge/noarch::cycler-0.10.0-py_2
  freetype           conda-forge/win-64::freetype-2.10.4-h546665d_1
  intel-openmp       conda-forge/win-64::intel-openmp-2021.2.0-h57928b3_616
  jbig               conda-forge/win-64::jbig-2.1-h8d14728_2003
  jpeg               conda-forge/win-64::jpeg-9d-h8ffe710_0
  kiwisolver         conda-forge/win-64::kiwisolver-1.3.1-py39h2e07f2f_1
  lcms2              conda-forge/win-64::lcms2-2.12-h2a16943_0
  lerc               conda-forge/win-64::lerc-2.2.1-h0e60522_0
  libblas            conda-forge/win-64::libblas-3.9.0-9_mkl
  libcblas           conda-forge/win-64::libcblas-3.9.0-9_mkl
  libdeflate         conda-forge/win-64::libdeflate-1.7-h8ffe710_5
  liblapack          conda-forge/win-64::liblapack-3.9.0-9_mkl
  libpng             conda-forge/win-64::libpng-1.6.37-h1d00b33_2
  libtiff            conda-forge/win-64::libtiff-4.3.0-h0c97f57_1
  lz4-c              conda-forge/win-64::lz4-c-1.9.3-h8ffe710_0
  m2w64-gcc-libgfor~ conda-forge/win-64::m2w64-gcc-libgfortran-5.3.0-6
  m2w64-gcc-libs     conda-forge/win-64::m2w64-gcc-libs-5.3.0-7
  m2w64-gcc-libs-co~ conda-forge/win-64::m2w64-gcc-libs-core-5.3.0-7
  m2w64-gmp          conda-forge/win-64::m2w64-gmp-6.1.0-2
  m2w64-libwinpthre~ conda-forge/win-64::m2w64-libwinpthread-git-5.0.0.4634.697f757-2
  matplotlib-base    conda-forge/win-64::matplotlib-base-3.4.2-py39h581301d_0
  mkl                conda-forge/win-64::mkl-2021.2.0-hb70f87d_389
  msys2-conda-epoch  conda-forge/win-64::msys2-conda-epoch-20160418-1
  numpy              conda-forge/win-64::numpy-1.21.0-py39h6635163_0
  olefile            conda-forge/noarch::olefile-0.46-pyh9f0ad1d_1
  openjpeg           conda-forge/win-64::openjpeg-2.4.0-hb211442_1
  openssl            conda-forge/win-64::openssl-1.1.1k-h8ffe710_0
  pandas             conda-forge/win-64::pandas-1.2.5-py39h2e25243_0
  pillow             conda-forge/win-64::pillow-8.2.0-py39h1a9d4f7_1
  pip                conda-forge/noarch::pip-21.1.2-pyhd8ed1ab_0
  pyparsing          conda-forge/noarch::pyparsing-2.4.7-pyh9f0ad1d_0
  python             conda-forge/win-64::python-3.9.5-h7840368_0_cpython
  python-dateutil    conda-forge/noarch::python-dateutil-2.8.1-py_0
  python_abi         conda-forge/win-64::python_abi-3.9-1_cp39
  pytz               conda-forge/noarch::pytz-2021.1-pyhd8ed1ab_0
  salib              conda-forge/noarch::salib-1.3.11-py_0
  scipy              conda-forge/win-64::scipy-1.6.3-py39hc0c34ad_0
  setuptools         conda-forge/win-64::setuptools-49.6.0-py39hcbf5309_3
  six                conda-forge/noarch::six-1.16.0-pyh6c4a22f_0
  sqlite             conda-forge/win-64::sqlite-3.36.0-h8ffe710_0
  tbb                conda-forge/win-64::tbb-2021.2.0-h2d74725_0
  tk                 conda-forge/win-64::tk-8.6.10-h8ffe710_1
  tornado            conda-forge/win-64::tornado-6.1-py39hb82d6ee_1
  tzdata             conda-forge/noarch::tzdata-2021a-he74cb21_0
  vc                 conda-forge/win-64::vc-14.2-hb210afc_4
  vs2015_runtime     conda-forge/win-64::vs2015_runtime-14.28.29325-h5e1d092_4
  wheel              conda-forge/noarch::wheel-0.36.2-pyhd3deb0d_0
  wincertstore       conda-forge/win-64::wincertstore-0.2-py39hcbf5309_1006
  xz                 conda-forge/win-64::xz-5.2.5-h62dcd97_1
  zlib               conda-forge/win-64::zlib-1.2.11-h62dcd97_1010
  zstd               conda-forge/win-64::zstd-1.5.0-h6255e5f_0


Proceed ([y]/n)? y


Downloading and Extracting Packages
lerc-2.2.1           | 133 KB    | ############################################################################ | 100%
libdeflate-1.7       | 61 KB     | ############################################################################ | 100%
python-dateutil-2.8. | 220 KB    | ############################################################################ | 100%
liblapack-3.9.0      | 4.0 MB    | ############################################################################ | 100%
openjpeg-2.4.0       | 238 KB    | ############################################################################ | 100%
tornado-6.1          | 654 KB    | ############################################################################ | 100%
libblas-3.9.0        | 4.0 MB    | ############################################################################ | 100%
pillow-8.2.0         | 784 KB    | ############################################################################ | 100%
kiwisolver-1.3.1     | 58 KB     | ############################################################################ | 100%
cycler-0.10.0        | 9 KB      | ############################################################################ | 100%
jbig-2.1             | 45 KB     | ############################################################################ | 100%
mkl-2021.2.0         | 183.8 MB  | ############################################################################ | 100%
salib-1.3.11         | 1.1 MB    | ############################################################################ | 100%
libpng-1.6.37        | 724 KB    | ############################################################################ | 100%
freetype-2.10.4      | 489 KB    | ############################################################################ | 100%
jpeg-9d              | 366 KB    | ############################################################################ | 100%
matplotlib-base-3.4. | 7.3 MB    | ############################################################################ | 100%
zstd-1.5.0           | 1004 KB   | ############################################################################ | 100%
lcms2-2.12           | 882 KB    | ############################################################################ | 100%
libtiff-4.3.0        | 1.1 MB    | ############################################################################ | 100%
tbb-2021.2.0         | 138 KB    | ############################################################################ | 100%
pandas-1.2.5         | 10.2 MB   | ############################################################################ | 100%
numpy-1.21.0         | 5.6 MB    | ############################################################################ | 100%
pyparsing-2.4.7      | 60 KB     | ############################################################################ | 100%
olefile-0.46         | 32 KB     | ############################################################################ | 100%
libcblas-3.9.0       | 4.0 MB    | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done

5. try reinstalling using conda after installing salib

conda install -c interpretml interpret
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abor|
Examining @/win-64::__win==0=0:  50%|██████████████████████████                          | 2/4 [00:00<00:00, 27.85it/s]/failed                                                                                                               |

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

6. Try installing again with verbose flags for more information found from stack overflow

conda install -c interpretml interpret -vv

7. Trying installation again with suggested conda cofig

conda config --set unsatisfiable_hints True

I have attached the terminal outpus as text files conda verbose output.txt conda verbose output unsatisfiable_hints True.txt

progressEdd avatar Jun 23 '21 15:06 progressEdd

I'm getting very similar results with conda install -c interpretml interpret. Were you ever able to install successfully? I'm reviewing my verbose results for clues now.

svjunkie avatar Dec 01 '21 17:12 svjunkie

I'm getting very similar results with conda install -c interpretml interpret. Were you ever able to install successfully? I'm reviewing my verbose results for clues now.

I gave up trying to resolve it. Resolving conda installation issues doesn't appear to have the highest priority. I used python -m pip install interpret to have it show up in my anaconda environment.

If you ever figure it out let me know

progressEdd avatar Dec 02 '21 21:12 progressEdd

Thanks, will do. No luck so far.

svjunkie avatar Dec 03 '21 04:12 svjunkie

I'm having the same error on a clean conda environment for python 3.6, 3.7, 3.8 and 3.9:

conda install -c interpretml interpret                                                                       ─╯
Collecting package metadata (current_repodata.json): - 
done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                             

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Echochi avatar Jan 28 '22 19:01 Echochi

Hi @progressEdd, @svjunkie and @Echochi --

We now have a conda-forge package (https://anaconda.org/conda-forge/interpret). The new installation instructions are:

conda install -c conda-forge interpret

paulbkoch avatar Feb 06 '23 00:02 paulbkoch