conda-build icon indicating copy to clipboard operation
conda-build copied to clipboard

Exception('No compatible shell found!') error while updating Conda

Open tgupta2222 opened this issue 1 year ago • 1 comments

I am trying to create a python specific version virtual environment based on conda. firstly, when I try to update conda it comes up with error:

Exception('No compatible shell found!')
()

I read this https://github.com/conda/conda/issues/10729 but that was not very helpful in resolving my issue. My OS is :

PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"

Miniconda3 is installed at export PATH="/opt/miniconda3/bin:$PATH" and this is present at my ~/.bashrc file. But still, if I try to get conda version I had to export the path.

Conda info results:

active environment : None
       user config file : /root/.condarc
 populated config files : /opt/miniconda3/.condarc
          conda version : 4.9.2
    conda-build version : not installed
         python version : 3.8.5.final.0
       virtual packages : __glibc=2.13=0
                          __unix=0=0
                          __archspec=1=x86_64
       base environment : /opt/miniconda3  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/miniconda3/pkgs
                          /root/.conda/pkgs
       envs directories : /opt/miniconda3/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/4.9.2 requests/2.24.0 CPython/3.8.5 Linux/3.16.0-0.bpo.4-amd64 debian/7 glibc/2.13
                UID:GID : 0:0
             netrc file : None
           offline mode : False

conda config --show-sources gives:

==> /opt/miniconda3/.condarc <==
auto_update_conda: False
auto_activate_base: False
notify_outdated_conda: False

I am new to this. Suggestions will be really helpful.

thanks

tgupta2222 avatar Aug 24 '23 13:08 tgupta2222

any solution stuck with the same problem ?

pascal-maker avatar Jan 07 '24 15:01 pascal-maker