title: Conda environment is in an unsolvable loop of 'The environment is inconsistent', how to fix it?
body: <p>A dependency conflict in conda environment seems to cause the environment to be in a state of self-conflict and it is unable to find any useful fix.</p>
  
  <p>I've tried things like <code>conda install anaconda</code> and <code>conda update --all</code> but seems nothing works, they all leads to the same error:</p>
  
  <pre><code>(cv-torch) ubuntu@ubuntu-ThinkPad-P51:~/git/gate_detection$ conda install anaconda
  Collecting package metadata (current_repodata.json): done
  Solving environment: \ 
  The environment is inconsistent, please check the package plan carefully
  The following packages are causing the inconsistency:
  
    - conda-forge/linux-64::pytest==5.2.0=py37_0
    - pypi/pypi::nbconvert==5.6.0=pypi_0
    - pypi/pypi::jupyterlab-server==1.0.6=pypi_0
    - pypi/pypi::jupyterlab==1.1.4=pypi_0
    - pypi/pypi::notebook==6.0.1=pypi_0
    - pypi/pypi::jupyter-client==5.3.3=pypi_0
    - pypi/pypi::ipykernel==5.1.2=pypi_0
    - pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0                                                                                                                                                                                                                        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: / 
  The environment is inconsistent, please check the package plan carefully
  The following packages are causing the inconsistency:
  
    - conda-forge/linux-64::pytest==5.2.0=py37_0
    - pypi/pypi::nbconvert==5.6.0=pypi_0
    - pypi/pypi::jupyterlab-server==1.0.6=pypi_0
    - pypi/pypi::jupyterlab==1.1.4=pypi_0
    - pypi/pypi::notebook==6.0.1=pypi_0
    - pypi/pypi::jupyter-client==5.3.3=pypi_0
    - pypi/pypi::ipykernel==5.1.2=pypi_0
    - pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0                                                                                                                                                                                                                        failed with initial frozen solve. Retrying with flexible solve.
  Solving environment: / 
  Found conflicts! Looking for incompatible packages.                                                                                                                                                                                                                    failed                                                                                                                                                                                                                                                                     
  
  UnsatisfiableError: The following specifications were found to be incompatible with each other:                                                                                                                                                                          
  
  
  
  Package libprotobuf conflicts for:
  tb-nightly -&gt; protobuf[version='&gt;=3.6.0'] -&gt; libprotobuf[version='3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|&gt;=3.6.0,&lt;3.6.1.0a0|&gt;=3.6.1,&lt;3.6.2.0a0|&gt;=3.7.0,&lt;3.7.1.0a0|&gt;=3.7.1,&lt;3.8.0a0|&gt;=3.8.0,&lt;3.9.0a0|&gt;=3.9.0,&lt;3.10.0a0|&gt;=3.9.1,&lt;3.10.0a0|&gt;=3.9.2,&lt;3.10.0a0']
  protobuf -&gt; libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|&gt;=3.4.1,&lt;3.5.0a0|&gt;=3.5.1,&lt;3.6.0a0|&gt;=3.5.2,&lt;3.6.0a0|&gt;=3.6.0,&lt;3.6.1.0a0|&gt;=3.6.1,&lt;3.6.2.0a0|&gt;=3.7.0,&lt;3.7.1.0a0|&gt;=3.7.1,&lt;3.8.0a0|&gt;=3.8.0,&lt;3.9.0a0|&gt;=3.9.0,&lt;3.10.0a0|&gt;=3.9.1,&lt;3.10.0a0|&gt;=3.9.2,&lt;3.10.0a0']
  grpcio -&gt; protobuf[version='&gt;=3.5.0'] -&gt; libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|&gt;=3.5.1,&lt;3.6.0a0|&gt;=3.5.2,&lt;3.6.0a0|&gt;=3.6.0,&lt;3.6.1.0a0|&gt;=3.6.1,&lt;3.6.2.0a0|&gt;=3.7.0,&lt;3.7.1.0a0|&gt;=3.7.1,&lt;3.8.0a0|&gt;=3.8.0,&lt;3.9.0a0|&gt;=3.9.0,&lt;3.10.0a0|&gt;=3.9.1,&lt;3.10.0a0|&gt;=3.9.2,&lt;3.10.0a0']
  opencv -&gt; libprotobuf[version='&gt;=3.4.1,&lt;3.5.0a0|&gt;=3.5.2,&lt;3.6.0a0']
  
  (cv-torch) ubuntu@ubuntu-ThinkPad-P51:~/git/gate_detection$ conda update --all
  Collecting package metadata (current_repodata.json): done
  Solving environment: / 
  The environment is inconsistent, please check the package plan carefully
  The following packages are causing the inconsistency:
  
    - conda-forge/linux-64::pytest==5.2.0=py37_0
    - pypi/pypi::ipykernel==5.1.2=pypi_0
    - pypi/pypi::jupyterlab-server==1.0.6=pypi_0
    - pypi/pypi::jupyter-client==5.3.3=pypi_0
    - pypi/pypi::jupyterlab==1.1.4=pypi_0
    - pypi/pypi::nbconvert==5.6.0=pypi_0
    - pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0
    - pypi/pypi::notebook==6.0.1=pypi_0                                                                                                                                                                                                                                  failed with repodata from current_repodata.json, will retry with next repodata source.
  Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
  Collecting package metadata (repodata.json): done
  Solving environment: - 
  The environment is inconsistent, please check the package plan carefully
  The following packages are causing the inconsistency:
  
    - conda-forge/linux-64::pytest==5.2.0=py37_0
    - pypi/pypi::ipykernel==5.1.2=pypi_0
    - pypi/pypi::jupyterlab-server==1.0.6=pypi_0
    - pypi/pypi::jupyter-client==5.3.3=pypi_0
    - pypi/pypi::jupyterlab==1.1.4=pypi_0
    - pypi/pypi::nbconvert==5.6.0=pypi_0
    - pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0
    - pypi/pypi::notebook==6.0.1=pypi_0                                                                                                                                                                                                                                  failed
  Solving environment: /                                                                                                                                                                                                                                                 failed                                                                                                                                                                                                                                                                     
  
  UnsatisfiableError: The following specifications were found to be incompatible with each other:                                                                                                                                                                          
  Finding shortest conflict path for libprotobuf[version='&gt;=3.7.1,&lt;3.8.0a0']:  13%|████████████████████▍                                                                                                                                    | 2/15 [00:00&lt;00:00, 16.01it/s]
  
  
  Package libprotobuf conflicts for:
  tb-nightly -&gt; protobuf[version='&gt;=3.6.0'] -&gt; libprotobuf[version='3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|&gt;=3.6.0,&lt;3.6.1.0a0|&gt;=3.6.1,&lt;3.6.2.0a0|&gt;=3.7.0,&lt;3.7.1.0a0|&gt;=3.7.1,&lt;3.8.0a0|&gt;=3.8.0,&lt;3.9.0a0|&gt;=3.9.0,&lt;3.10.0a0|&gt;=3.9.1,&lt;3.10.0a0|&gt;=3.9.2,&lt;3.10.0a0']
  protobuf -&gt; libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|&gt;=3.4.1,&lt;3.5.0a0|&gt;=3.5.1,&lt;3.6.0a0|&gt;=3.5.2,&lt;3.6.0a0|&gt;=3.6.0,&lt;3.6.1.0a0|&gt;=3.6.1,&lt;3.6.2.0a0|&gt;=3.7.0,&lt;3.7.1.0a0|&gt;=3.7.1,&lt;3.8.0a0|&gt;=3.8.0,&lt;3.9.0a0|&gt;=3.9.0,&lt;3.10.0a0|&gt;=3.9.1,&lt;3.10.0a0|&gt;=3.9.2,&lt;3.10.0a0']
  opencv -&gt; libprotobuf[version='&gt;=3.4.1,&lt;3.5.0a0|&gt;=3.5.2,&lt;3.6.0a0']
  grpcio -&gt; protobuf[version='&gt;=3.5.0'] -&gt; libprotobuf[version='3.5.1.1|3.5.1|3.5.2.*|3.6.0.*|3.6.1.*|3.7.0.*|3.7.1.*|3.8.0.*|3.9.0.*|3.9.1.*|3.9.2.*|3.5.2|&gt;=3.5.1,&lt;3.6.0a0|&gt;=3.5.2,&lt;3.6.0a0|&gt;=3.6.0,&lt;3.6.1.0a0|&gt;=3.6.1,&lt;3.6.2.0a0|&gt;=3.7.0,&lt;3.7.1.0a0|&gt;=3.7.1,&lt;3.8.0a0|&gt;=3.8.0,&lt;3.9.0a0|&gt;=3.9.0,&lt;3.10.0a0|&gt;=3.9.1,&lt;3.10.0a0|&gt;=3.9.2,&lt;3.10.0a0']
  
  (cv-torch) ubuntu@ubuntu-ThinkPad-P51:~/git/gate_detection$ 
  
  </code></pre>
  
  <p>When I attempt to resolve it manually by removing all the packages that caused the conflict, it gave me an even longer error:</p>
  
  <pre><code>(cv-torch) ubuntu@ubuntu-ThinkPad-P51:~/git/gate_detection$ conda remove tb-nightly protobuf opencv grpcio
  Collecting package metadata (repodata.json): done
  Solving environment: \ 
  The environment is inconsistent, please check the package plan carefully
  The following packages are causing the inconsistency:
  
    - pypi/pypi::jupyter-client==5.3.3=pypi_0
    - pypi/pypi::ipykernel==5.1.2=pypi_0
    - pypi/pypi::nbconvert==5.6.0=pypi_0
    - conda-forge/linux-64::pytest==5.2.0=py37_0
    - pypi/pypi::notebook==6.0.1=pypi_0
    - pypi/pypi::jupyterlab-server==1.0.6=pypi_0
    - pypi/pypi::jupyterlab==1.1.4=pypi_0
    - pypi/pypi::jupyterlab-desktop==0.1.0=pypi_0                                                                                                                                                                                                                        / 
  Found conflicts! Looking for incompatible packages.                                                                                                                                                                                                                    failed                                                                                                                                                                                                                                                                     
  
  UnsatisfiableError: The following specifications were found to be incompatible with each other:
  
  
  
  Package parso conflicts for:
  jedi -&gt; parso[version='0.1.0|&gt;=0.1.0,&lt;0.2|&gt;=0.2.0|&gt;=0.3.0|&gt;=0.5.0']
  Package libgcc-ng conflicts for:
  python=3.7 -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  openssl -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  numpy -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  scipy -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  markupsafe -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  pyzmq -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  mistune -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  pytorch -&gt; libgcc-ng[version='&gt;=5.4.0|&gt;=7.3.0']
  torchvision -&gt; libgcc-ng[version='&gt;=5.4.0|&gt;=7.3.0']
  shapely -&gt; libgcc-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  matplotlib -&gt; libgcc-ng[version='&gt;=7.2.0|&gt;=7.3.0']
  Package libopenblas conflicts for:
  scipy -&gt; libopenblas[version='&gt;=0.2.20,&lt;0.2.21.0a0|&gt;=0.3.2,&lt;0.3.3.0a0|&gt;=0.3.3,&lt;1.0a0']
  numpy -&gt; libopenblas[version='&gt;=0.2.20,&lt;0.2.21.0a0|&gt;=0.3.2,&lt;0.3.3.0a0|&gt;=0.3.3,&lt;1.0a0']
  Package cycler conflicts for:
  matplotlib -&gt; cycler[version='&gt;=0.10']
  Package pexpect conflicts for:
  ipython -&gt; pexpect
  Package jupyterlab_launcher conflicts for:
  jupyterlab -&gt; jupyterlab_launcher[version='&lt;0.2|&gt;=0.10.0,&lt;0.11.0|&gt;=0.11.0,&lt;0.12.0|&gt;=0.11.2,&lt;0.12.0|&gt;=0.13.1,&lt;0.14.0|&gt;=0.2.3|&gt;=0.3.0|&gt;=0.4.0|&gt;=0.5.4|&gt;=0.5.4,&lt;0.6.0|&gt;=0.6.0,&lt;0.7.0']
  Package jinja2 conflicts for:
  notebook -&gt; jinja2
  jupyterlab-server -&gt; jinja2[version='&gt;=2.10']
  nbconvert -&gt; jinja2[version='&gt;=2.4']
  jupyterlab -&gt; jinja2[version='&gt;=2.10']
  Package setuptools conflicts for:
  bleach -&gt; setuptools
  matplotlib -&gt; setuptools
  ipython -&gt; setuptools[version='&gt;=18.5']
  pygments -&gt; setuptools
  jinja2 -&gt; setuptools
  markdown -&gt; setuptools[version='&gt;=36']
  pytest -&gt; setuptools[version='&gt;=40.0']
  pip -&gt; setuptools
  Package tornado conflicts for:
  notebook -&gt; tornado[version='&gt;=4.1,&lt;7|&gt;=4|&gt;=4,&lt;6|&gt;=5.0|&gt;=5.0,&lt;7']
  matplotlib -&gt; tornado
  ipykernel -&gt; tornado[version='&gt;=4.0|&gt;=4.2']
  terminado -&gt; tornado[version='&gt;=4']
  nbconvert -&gt; tornado[version='&gt;=4.0']
  jupyterlab -&gt; tornado[version='!=6.0.0,!=6.0.1,!=6.0.2']
  jupyter-client -&gt; tornado[version='&gt;=4.1']
  Package numpy conflicts for:
  pytorch -&gt; numpy[version='&gt;=1.11|&gt;=1.11.3,&lt;2.0a0|&gt;=1.9|&gt;=1.9.3,&lt;2.0a0']
  shapely -&gt; numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|1.8.*|1.9.*|&gt;=1.11|&gt;=1.11.3,&lt;2.0a0|&gt;=1.14.6,&lt;2.0a0|&gt;=1.7|&gt;=1.8|&gt;=1.9|&gt;=1.9.3,&lt;2.0a0']
  matplotlib -&gt; numpy[version='1.10.*|1.11.*']
  torchvision -&gt; numpy[version='&gt;1.11|&gt;=1.11']
  scipy -&gt; numpy[version='1.10.*|1.11.*|1.12.*|1.13.*|&gt;=1.11|&gt;=1.11.3,&lt;2.0a0|&gt;=1.14.6,&lt;2.0a0|&gt;=1.15.1,&lt;2.0a0|&gt;=1.9|&gt;=1.9.3,&lt;2.0a0']
  Package jupyterlab-server conflicts for:
  jupyterlab -&gt; jupyterlab-server~=1.0.0
  Package libgcc conflicts for:
  pytorch -&gt; libgcc
  scipy -&gt; libgcc
  Package libstdcxx-ng conflicts for:
  python=3.7 -&gt; libstdcxx-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  scipy -&gt; libstdcxx-ng[version='&gt;=4.9|&gt;=7.2.0|&gt;=7.3.0']
  pyzmq -&gt; libstdcxx-ng[version='&gt;=4.9|&gt;=7.3.0']
  numpy -&gt; libstdcxx-ng[version='&gt;=4.9|&gt;=7.3.0']
  torchvision -&gt; libstdcxx-ng[version='&gt;=5.4.0|&gt;=7.3.0']
  pytorch -&gt; libstdcxx-ng[version='&gt;=5.4.0|&gt;=7.3.0']
  matplotlib -&gt; libstdcxx-ng[version='&gt;=7.2.0|&gt;=7.3.0']
  Package python-decorator conflicts for:
  ipython -&gt; python-decorator
  Package python-dateutil conflicts for:
  matplotlib -&gt; python-dateutil
  jupyter-client -&gt; python-dateutil[version='&gt;=2.1']
  Package jupyter_client conflicts for:
  ipykernel -&gt; jupyter_client
  nbconvert -&gt; jupyter_client[version='&gt;=4.2']
  notebook -&gt; jupyter_client[version='&gt;=5.2.0|&gt;=5.3.1']
  Package nbconvert conflicts for:
  notebook -&gt; nbconvert
  Package atomicwrites conflicts for:
  pytest -&gt; atomicwrites[version='&gt;=1.0']
  Package nbsphinx conflicts for:
  nbconvert -&gt; nbsphinx[version='&gt;=0.2.12']
  Package mkl_random conflicts for:
  numpy -&gt; mkl_random[version='&gt;=1.0.2,&lt;2.0a0']
  Package jupyterlab_server conflicts for:
  jupyterlab -&gt; jupyterlab_server[version='&gt;=0.2.0,&lt;0.3.0|&gt;=1.0.0,&lt;2.0.0']
  Package backports.functools_lru_cache conflicts for:
  matplotlib -&gt; backports.functools_lru_cache
  Package entrypoints conflicts for:
  nbconvert -&gt; entrypoints[version='&gt;=0.2.2']
  Package webencodings conflicts for:
  bleach -&gt; webencodings
  Package pandocfilters conflicts for:
  nbconvert -&gt; pandocfilters[version='&gt;=1.4.1']
  Package futures conflicts for:
  jupyterlab -&gt; futures
  Package openblas conflicts for:
  numpy -&gt; openblas[version='0.2.*|0.2.18.*|0.2.18|0.2.18.*|0.2.19|0.2.19.*|0.2.20|0.2.20.*|&gt;=0.2.15|&gt;=0.2.20,&lt;0.2.21.0a0|&gt;=0.3.3,&lt;0.3.4.0a0']
  scipy -&gt; openblas[version='0.2.18.*|0.2.18|0.2.18.*|0.2.19|0.2.19.*|0.2.20|0.2.20.*|&gt;=0.2.20,&lt;0.2.21.0a0|&gt;=0.3.3,&lt;0.3.4.0a0']
  Package ptyprocess conflicts for:
  terminado -&gt; ptyprocess
  pexpect -&gt; ptyprocess[version='&gt;=0.5']
  Package libsodium conflicts for:
  pyzmq -&gt; libsodium[version='&gt;=1.0.16,&lt;1.0.17.0a0|&gt;=1.0.17,&lt;1.0.18.0a0']
  Package ipaddress conflicts for:
  notebook -&gt; ipaddress
  Package backports.shutil_get_terminal_size conflicts for:
  ipython -&gt; backports.shutil_get_terminal_size
  Package jupyter-client conflicts for:
  ipykernel -&gt; jupyter-client
  nbconvert -&gt; jupyter-client[version='&gt;=5.3.1']
  notebook -&gt; jupyter-client[version='&gt;=5.3.1']
  Package packaging conflicts for:
  pytest -&gt; packaging
  Package json5 conflicts for:
  jupyterlab-server -&gt; json5
  Package pickleshare conflicts for:
  ipython -&gt; pickleshare
  Package libblas conflicts for:
  numpy -&gt; libblas[version='&gt;=3.8.0,&lt;4.0a0']
  scipy -&gt; libblas[version='&gt;=3.8.0,&lt;4.0a0']
  Package libgfortran conflicts for:
  numpy -&gt; libgfortran[version='&gt;=3.0']
  scipy -&gt; libgfortran[version='&gt;=3.0']
  Package * conflicts for:
  scipy -&gt; *[track_features=blas_openblas]
  numpy -&gt; *[track_features=blas_openblas]
  Package ipython-genutils conflicts for:
  notebook -&gt; ipython-genutils
  Package prometheus-client conflicts for:
  notebook -&gt; prometheus-client
  Package tk conflicts for:
  python=3.7 -&gt; tk[version='&gt;=8.6.7,&lt;8.7.0a0|&gt;=8.6.8,&lt;8.7.0a0|&gt;=8.6.9,&lt;8.7.0a0']
  matplotlib -&gt; tk[version='8.5.*|8.6.*|8.6.*,&gt;=8.6.7,&lt;8.7.0a0|8.6.*,&gt;=8.6.8,&lt;8.7.0a0']
  Package traitlets conflicts for:
  ipykernel -&gt; traitlets[version='&gt;=4.1|&gt;=4.1.0']
  nbconvert -&gt; traitlets[version='&gt;=4.2']
  ipython -&gt; traitlets[version='&gt;=4.2']
  jupyter-client -&gt; traitlets
  notebook -&gt; traitlets[version='&gt;=4.2.1|&gt;=4.3']
  Package pytorch conflicts for:
  torchvision -&gt; pytorch[version='1.1.*|1.2.0.*|&gt;=0.3|&gt;=0.4']
  Package pyparsing conflicts for:
  matplotlib -&gt; pyparsing
  Package prompt-toolkit conflicts for:
  ipython -&gt; prompt-toolkit[version='&lt;2.1.0,&gt;=2.0.0']
  Package freetype conflicts for:
  matplotlib -&gt; freetype[version='2.6.*|&gt;=2.8,&lt;2.9.0a0|&gt;=2.9.1,&lt;3.0a0']
  Package blas conflicts for:
  numpy -&gt; blas[version='*|*|1.0|1.1',build='openblas|openblas|openblas|mkl|mkl']
  pytorch -&gt; blas==1.0=mkl
  scipy -&gt; blas[version='*|*|1.0|1.1',build='openblas|openblas|openblas|mkl|mkl']
  Package six conflicts for:
  absl-py -&gt; six
  bleach -&gt; six[version='&gt;=1.9.0']
  prompt-toolkit -&gt; six[version='&gt;=1.9.0']
  pytest -&gt; six[version='&gt;=1.10.0']
  torchvision -&gt; six
  Package sphinx conflicts for:
  nbconvert -&gt; sphinx[version='&gt;=1.5.1']
  ipython -&gt; sphinx[version='&gt;=1.3']
  Package mock conflicts for:
  jupytext -&gt; mock
  Package libcblas conflicts for:
  scipy -&gt; libcblas[version='&gt;=3.8.0,&lt;4.0a0']
  numpy -&gt; libcblas[version='&gt;=3.8.0,&lt;4.0a0']
  Package future conflicts for:
  pytorch -&gt; future
  torchvision -&gt; future
  Package terminado conflicts for:
  notebook -&gt; terminado[version='&gt;=0.3.3|&gt;=0.8.1']
  Package xz conflicts for:
  python=3.7 -&gt; xz[version='&gt;=5.2.3,&lt;5.3.0a0|&gt;=5.2.4,&lt;5.3.0a0|&gt;=5.2.4,&lt;6.0a0']
  Package markupsafe conflicts for:
  jinja2 -&gt; markupsafe[version='&gt;=0.23']
  Package funcsigs conflicts for:
  pytest -&gt; funcsigs[version='&gt;=1.0']
  Package mistune conflicts for:
  nbconvert -&gt; mistune[version='&lt;2,&gt;=0.8.1|&gt;0.6|&gt;=0.7.4|&gt;=0.8.1']
  Package zeromq conflicts for:
  pyzmq -&gt; zeromq[version='4.1.*|4.2.*|4.2.1|&gt;=4.2.3,&lt;4.3|&gt;=4.2.5,&lt;4.2.6.0a0|&gt;=4.2.5,&lt;4.3|&gt;=4.2.5,&lt;4.3.0a0|&gt;=4.3.1,&lt;4.4.0a0|&gt;=4.3.2,&lt;4.4.0a0']
  Package icu conflicts for:
  matplotlib -&gt; icu[version='&gt;=58.2,&lt;59.0a0']
  Package pyzmq conflicts for:
  jupyter-client -&gt; pyzmq[version='&gt;=13']
  notebook -&gt; pyzmq[version='&gt;=17']
  Package pathlib2 conflicts for:
  pytest -&gt; pathlib2[version='&gt;=2.2.0']
  pickleshare -&gt; pathlib2
  ipython -&gt; pathlib2
  testpath -&gt; pathlib2
  Package jupyterlab conflicts for:
  jupyterlab-desktop -&gt; jupyterlab[version='&gt;=0.35.0']
  Package more-itertools conflicts for:
  pytest -&gt; more-itertools[version='&gt;=4.0|&gt;=4.0,&gt;=4.0,&lt;6.0']
  Package py conflicts for:
  pytest -&gt; py[version='&gt;=1.4.29|&gt;=1.4.33|&gt;=1.5.0']
  Package mkl conflicts for:
  numpy -&gt; mkl[version='&gt;=2018.0.0,&lt;2019.0a0|&gt;=2018.0.1,&lt;2019.0a0|&gt;=2018.0.2,&lt;2019.0a0|&gt;=2018.0.3,&lt;2019.0a0|&gt;=2019.1,&lt;2020.0a0|&gt;=2019.3,&lt;2020.0a0|&gt;=2019.4,&lt;2020.0a0']
  scipy -&gt; mkl[version='&gt;=2018.0.0,&lt;2019.0a0|&gt;=2018.0.2,&lt;2019.0a0|&gt;=2018.0.3,&lt;2019.0a0|&gt;=2019.1,&lt;2020.0a0|&gt;=2019.4,&lt;2020.0a0']
  pytorch -&gt; mkl[version='&gt;=2018.0.2,&lt;2019.0a0|&gt;=2018.0.3,&lt;2019.0a0|&gt;=2019.1,&lt;2020.0a0|&gt;=2019.4,&lt;2020.0a0']
  Package defusedxml conflicts for:
  nbconvert -&gt; defusedxml
  Package ipython_genutils conflicts for:
  notebook -&gt; ipython_genutils
  Package bzip2 conflicts for:
  python=3.7 -&gt; bzip2[version='&gt;=1.0.6,&lt;2.0a0']
  Package _pytorch_select conflicts for:
  torchvision -&gt; _pytorch_select[version='0.1|0.2']
  pytorch -&gt; _pytorch_select[version='0.1|0.2']
  Package jedi conflicts for:
  ipython -&gt; jedi[version='&gt;=0.10']
  Package nose conflicts for:
  ipython -&gt; nose[version='&gt;=0.10.1']
  Package cudatoolkit conflicts for:
  pytorch -&gt; cudatoolkit[version='10.0.*|7.5.*|8.0.*|9.0.*|9.2.*|&gt;=10.0.130,&lt;10.1.0a0|&gt;=8.0,&lt;8.1.0a0|&gt;=9.0,&lt;9.1.0a0|&gt;=9.2,&lt;9.3.0a0']
  torchvision -&gt; cudatoolkit[version='&gt;=10.0.130,&lt;10.1.0a0|&gt;=9.0,&lt;9.1.0a0|&gt;=9.2,&lt;9.3.0a0']
  Package babel conflicts for:
  jinja2 -&gt; babel[version='&gt;=0.8']
  Package backcall conflicts for:
  ipython -&gt; backcall
  Package nodejs conflicts for:
  jupyterlab -&gt; nodejs[version='&lt;10']
  Package ipykernel conflicts for:
  notebook -&gt; ipykernel
  Package jupyter-core conflicts for:
  jupyter-client -&gt; jupyter-core
  nbconvert -&gt; jupyter-core
  notebook -&gt; jupyter-core[version='&gt;=4.4.0']
  Package functools32 conflicts for:
  matplotlib -&gt; functools32
  Package ipywidgets conflicts for:
  nbconvert -&gt; ipywidgets[version='&gt;=7']
  Package libpng conflicts for:
  matplotlib -&gt; libpng[version='&gt;=1.6.23,&lt;1.7|&gt;=1.6.32,&lt;1.7.0a0|&gt;=1.6.34,&lt;1.7.0a0|&gt;=1.6.35,&lt;1.7.0a0|&gt;=1.6.36,&lt;1.7.0a0|&gt;=1.6.37,&lt;1.7.0a0']
  Package pytest conflicts for:
  parso -&gt; pytest[version='&gt;=3.0.7']
  jedi -&gt; pytest[version='&lt;5.0.0,&gt;=3.1.0']
  Package openssl conflicts for:
  python=3.7 -&gt; openssl[version='&gt;=1.0.2o,&lt;1.0.3a|&gt;=1.0.2p,&lt;1.0.3a|&gt;=1.1.1a,&lt;1.1.2a|&gt;=1.1.1b,&lt;1.1.2a|&gt;=1.1.1c,&lt;1.1.2a']
  Package subprocess32 conflicts for:
  matplotlib -&gt; subprocess32
  jupyterlab -&gt; subprocess32
  Package pygments conflicts for:
  ipython -&gt; pygments
  nbconvert -&gt; pygments
  Package pytz conflicts for:
  matplotlib -&gt; pytz
  Package cffi conflicts for:
  pytorch -&gt; cffi
  Package numpy-base conflicts for:
  numpy -&gt; numpy-base[version='1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.11.3|1.17.2.*|1.14.3|1.14.3|1.14.3|1.14.3|1.14.3|1.14.3|1.14.4|1.14.4|1.14.4|1.14.4|1.14.4|1.14.4|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.5|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.14.6|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.0|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.1|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.2|1.15.3|1.15.3|1.15.3|1.15.3|1.15.3|1.15.3|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.15.4|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.0|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.1|1.16.2|1.16.2|1.16.2|1.16.2|1.16.2|1.16.2|1.16.3|1.16.3|1.16.3|1.16.3|1.16.3|1.16.3|1.16.4|1.16.4|1.16.4|1.16.4|1.16.4|1.16.4|1.16.5|1.16.5|1.16.5|1.16.5|1.16.5|1.16.5|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|1.9.3|&gt;=1.9.3,&lt;2.0a0',build='py37hdbf6ddf_7|py37h2b20989_7|py36hdbf6ddf_7|py36h2b20989_7|py35hdbf6ddf_7|py27hdbf6ddf_6|py27h2b20989_7|py27h2b20989_6|py37hde5b4d6_0|py36hde5b4d6_0|py36h2f8d375_0|py27h2f8d375_0|py36hde5b4d6_0|py36h2f8d375_0|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_0|py37h2f8d375_0|py36h2f8d375_0|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_0|py36h2f8d375_0|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_1|py37h2f8d375_1|py36hde5b4d6_0|py36h2f8d375_0|py27hde5b4d6_1|py27hde5b4d6_0|py37hde5b4d6_0|py37h2f8d375_1|py36h2f8d375_0|py27hde5b4d6_1|py27hde5b4d6_0|py27h2f8d375_0|py37hde5b4d6_0|py36hde5b4d6_0|py27hde5b4d6_0|py27h81de0dd_0|py27h2f8d375_0|py37h2f8d375_0|py36h2f8d375_0|py27h2f8d375_0|py37h81de0dd_1|py37h2f8d375_1|py37h2f8d375_0|py36h2f8d375_0|py35h81de0dd_0|py35h2f8d375_0|py27h81de0dd_1|py27h81de0dd_0|py27h2f8d375_0|py37h74e8950_0|py37h2f8d375_0|py36h81de0dd_0|py36h2f8d375_0|py35h81de0dd_0|py35h2f8d375_0|py27h81de0dd_0|py27h2f8d375_0|py37h7cdd4dd_0|py35h7cdd4dd_0|py35h3dfced4_0|py27h7cdd4dd_0|py37hde5b4d6_5|py36hde5b4d6_5|py35h2f8d375_4|py27h2f8d375_5|py37hdbf6ddf_3|py37hdbf6ddf_2|py37hdbf6ddf_1|py37h2b20989_4|py37h2b20989_3|py36hdbf6ddf_4|py36hdbf6ddf_3|py36hdbf6ddf_0|py36h2b20989_4|py36h2b20989_2|py36h2b20989_1|py36h2b20989_0|py35hdbf6ddf_0|py35h2b20989_4|py27hdbf6ddf_4|py27hdbf6ddf_2|py27hdbf6ddf_1|py27hdbf6ddf_0|py27h2b20989_4|py27h2b20989_2|py27h2b20989_1|py27h2b20989_0|py36hdbf6ddf_0|py36h2b20989_0|py35h2b20989_0|py27hdbf6ddf_0|py36h9be14a7_1|py35h0ea5e3f_1|py37hdbf6ddf_8|py37h81de0dd_10|py37h7cdd4dd_9|py37h74e8950_10|py37h2f8d375_11|py37h2f8d375_10|py37h2b20989_8|py37h2b20989_7|py36h81de0dd_10|py36h7cdd4dd_9|py36h74e8950_9|py36h74e8950_10|py36h2b20989_7|py35h81de0dd_9|py35h7cdd4dd_9|py35h74e8950_10|py35h3dfced4_9|py27hde5b4d6_12|py27hdbf6ddf_8|py27h81de0dd_9|py27h81de0dd_10|py27h7cdd4dd_9|py27h74e8950_9|py27h2f8d375_11|py27h2f8d375_10|py27h2b20989_7|py27h2b20989_8|py27h2f8d375_12|py27h3dfced4_9|py27h74e8950_10|py27hdbf6ddf_7|py27hde5b4d6_11|py35h2b20989_8|py35h2f8d375_10|py35h74e8950_9|py35h81de0dd_10|py35hdbf6ddf_8|py36h2b20989_8|py36h2f8d375_10|py36h2f8d375_11|py36h2f8d375_12|py36h3dfced4_9|py36h81de0dd_9|py36hdbf6ddf_7|py36hdbf6ddf_8|py36hde5b4d6_11|py36hde5b4d6_12|py37h2f8d375_12|py37h3dfced4_9|py37h74e8950_9|py37h81de0dd_9|py37hdbf6ddf_7|py37hde5b4d6_11|py37hde5b4d6_12|py27h0ea5e3f_1|py27h9be14a7_1|py35h9be14a7_1|py36h0ea5e3f_1|py27h2b20989_0|py35hdbf6ddf_0|py27h2b20989_3|py27hdbf6ddf_3|py35hdbf6ddf_4|py36h2b20989_3|py36hdbf6ddf_1|py36hdbf6ddf_2|py37h2b20989_1|py37h2b20989_2|py37hdbf6ddf_4|py27h2f8d375_4|py27h81de0dd_4|py27hde5b4d6_5|py35h81de0dd_4|py36h2f8d375_4|py36h2f8d375_5|py36h81de0dd_4|py37h2f8d375_4|py37h2f8d375_5|py37h81de0dd_4|py27h3dfced4_0|py36h3dfced4_0|py36h7cdd4dd_0|py37h3dfced4_0|py27h74e8950_0|py35h74e8950_0|py36h74e8950_0|py37h81de0dd_0|py27h2f8d375_1|py36h2f8d375_1|py36h81de0dd_0|py36h81de0dd_1|py37h81de0dd_0|py27h81de0dd_0|py36h81de0dd_0|py37h81de0dd_0|py36h2f8d375_0|py36h81de0dd_0|py37h2f8d375_0|py37h81de0dd_0|py27h2f8d375_1|py36h2f8d375_1|py36hde5b4d6_0|py36hde5b4d6_1|py37h2f8d375_0|py37hde5b4d6_1|py27h2f8d375_0|py27h2f8d375_1|py36h2f8d375_1|py36hde5b4d6_1|py37h2f8d375_0|py37hde5b4d6_0|py36hde5b4d6_0|py37h2f8d375_0|py36hde5b4d6_0|py37h2f8d375_0|py37hde5b4d6_0|py27hde5b4d6_0|py37h2f8d375_0|py27hdbf6ddf_7|py35h2b20989_7|py36h2b20989_6|py36hdbf6ddf_6|py37h2b20989_6|py37hdbf6ddf_6']
  Package nbformat conflicts for:
  nbconvert -&gt; nbformat[version='&gt;=4.4']
  notebook -&gt; nbformat
  jupytext -&gt; nbformat[version='&gt;=4.0.0']
  Package wheel conflicts for:
  pip -&gt; wheel
  Package configparser conflicts for:
  entrypoints -&gt; configparser[version='&gt;=3.5']
  Package pyyaml conflicts for:
  jupytext -&gt; pyyaml
  Package wrapt conflicts for:
  deprecated -&gt; wrapt[version='&lt;2,&gt;=1']
  Package notebook conflicts for:
  jupyterlab-server -&gt; notebook[version='&gt;=4.2.0']
  jupyterlab -&gt; notebook[version='&gt;=4.2|&gt;=4.3|&gt;=4.3.1']
  Package testpath conflicts for:
  nbconvert -&gt; testpath
  Package jupyter_core conflicts for:
  notebook -&gt; jupyter_core[version='&gt;=4.4.0']
  nbconvert -&gt; jupyter_core
  Package python-pathlib2 conflicts for:
  pickleshare -&gt; python-pathlib2
  Package ca-certificates conflicts for:
  openssl -&gt; ca-certificates
  Package ipython conflicts for:
  ipykernel -&gt; ipython[version='&gt;=4.0|&gt;=4.0.0|&gt;=5.0|&gt;=5.0.0']
  Package matplotlib-base conflicts for:
  matplotlib -&gt; matplotlib-base[version='2.1.2|2.2.3|2.2.3|2.2.3|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|2.2.4|3.0.1|3.0.2|3.0.2|3.0.2|3.0.2|3.0.2|3.0.3|3.0.3|3.0.3|3.0.3|3.1.0|3.1.0|3.1.0|3.1.0|3.1.1|3.1.1|3.1.1|3.1.1',build='py37hfd891ef_0|py37he7580a8_1|py37hfd891ef_1|py37h5f35d83_0|py37h5f35d83_1|py37h167e16e_0|py36h5f35d83_1|py36h167e16e_0|py37h167e16e_1001|py37hc2fb212_1001|py37h250f245_1|py36h250f245_1|py37h60b886d_1|py36h250f245_1|py27h250f245_1|py37h250f245_1|py27h60b886d_1|py36h60b886d_1|py27h250f245_1|py27hfd891ef_0|py36hfd891ef_0|py37hfd891ef_0|py36h167e16e_1000|py36h167e16e_1001|py36h167e16e_1002|py37h167e16e_1002|py36h5f35d83_0|py36hfd891ef_1|py36he7580a8_1|py36hfd891ef_0']
  Package numpydoc conflicts for:
  jedi -&gt; numpydoc
  Package libgfortran-ng conflicts for:
  numpy -&gt; libgfortran-ng[version='&gt;=4.9|&gt;=7,&lt;8.0a0|&gt;=7.2.0,&lt;8.0a0']
  scipy -&gt; libgfortran-ng[version='&gt;=7,&lt;8.0a0|&gt;=7.2.0,&lt;8.0a0']
  Package nccl conflicts for:
  pytorch -&gt; nccl[version='&lt;2']
  Package liblapack conflicts for:
  ...
  
  </code></pre>
  
  <p>In this case, how to make conda saving itself? Also, why conda's conflict resolver seems to be so much weaker than apt? The later always gave several alternatives that can results in a reliable fix.</p>