Anaconda installation stops without showing any error Mac

3 views
Skip to first unread message

AR

unread,
Jan 6, 2021, 10:47:55 PM1/6/21
to Anaconda - Public
After the upgrade to Catalina, as everyone else, I couldn't use anaconda. At the end I erased everything and downloaded it again to install it from scratch. I am using Mac OS Catalina 10.15.7 During installation it says 'unpacking payload' and it extracts some files. After that, nothing happens, no error message, nothing. It just shows the prompt again. If I go to /Users/user/anaconda3/ there are only a few files (Licence.txt, conda-meta, conda.exe, pkgs, postconda.tar.bz2). There is no bin folder. There is nothing installed. 
I have tried with bash, with zsh, with different anaconda versions. From version 2019.7 to 2020.11 it is the same thing.
If I use version 2018 to 2019.3 it does continue with the installation, however it does not run anything. I tried conda list, conda update, conda upgrade, conda install  and all of them encounter 'an unexpected error' 

I would appreciate any ideas of what could be happening and how could it be solved.
thanks

Ray Donnelly

unread,
Jan 7, 2021, 1:03:57 AM1/7/21
to Anaconda - Public
Run via bash -x and paste the output from the shell based installer please.

--
Community Discussion Forum for Anaconda
---
You received this message because you are subscribed to the Google Groups "Anaconda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anaconda+u...@continuum.io.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/anaconda/70af4400-5e2d-4b95-863a-d4e7aee361afn%40continuum.io.

Alejandra Rougon

unread,
Jan 7, 2021, 2:49:44 PM1/7/21
to Anaconda - Public, rdon...@anaconda.com
Thanks for replying. Here is the output:

Nebula@Infinitys-MacBook-Pro ~ % bash -x Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
+ unset DYLD_LIBRARY_PATH
+ grep '\.sh$'
+ '[' -n /bin/zsh ']'
+ RUNNING_SHELL=/bin/zsh
+ '[' -z /bin/zsh ']'
+ '[' '!' -f /bin/zsh ']'
+ '[' -z /bin/zsh ']'
+ '[' '!' -f /bin/zsh ']'
++ DIRNAME=Downloads
++ cd Downloads
++ pwd
+ THIS_DIR=/Users/Nebula/Downloads
+ THIS_PATH=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
+ PREFIX=/Users/Nebula/anaconda3
+ BATCH=0
+ FORCE=0
+ SKIP_SCRIPTS=0
+ TEST=0
+ REINSTALL=0
+ USAGE='
usage: Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh [options]

Installs Anaconda3 2020.11

-b           run install in batch mode (without manual intervention),
             it is expected the license terms are agreed upon
-f           no error if install prefix already exists
-h           print this help message and exit
-p PREFIX    install prefix, defaults to /Users/Nebula/anaconda3, must not contain spaces.
-s           skip running pre/post-link/install scripts
-u           update an existing installation
-t           run package tests after installation (may install conda-build)
'
+ which getopt
++ getopt bfhp:sut ''
+ OPTS=' -- '
+ '[' '!' 0 ']'
+ eval set -- ' -- '
++ set -- --
+ true
+ case "$1" in
+ shift
+ break
+ '[' 0 = 0 ']'
++ uname -m
+ '[' x86_64 '!=' x86_64 ']'
++ uname
+ '[' Darwin '!=' Darwin ']'
+ printf '\n'

+ printf 'Welcome to Anaconda3 2020.11\n'
Welcome to Anaconda3 2020.11
+ printf '\n'

+ printf 'In order to continue the installation process, please review the license\n'
In order to continue the installation process, please review the license
+ printf 'agreement.\n'
agreement.
+ printf 'Please, press ENTER to continue\n'
Please, press ENTER to continue
+ printf '>>> '
>>> + read -r dummy
Do you accept the license terms? [yes|no]
+ printf '[no] >>> '
[no] >>> + read -r ans
     yes
     + '[' yes '!=' yes ']'
     + '[' yes '!=' yes ']'
     + printf '\n'

     + printf 'Anaconda3 will now be installed into this location:\n'
     Anaconda3 will now be installed into this location:
     + printf '%s\n' /Users/Nebula/anaconda3
     /Users/Nebula/anaconda3
     + printf '\n'

     + printf '  - Press ENTER to confirm the location\n'
       - Press ENTER to confirm the location
     + printf '  - Press CTRL-C to abort the installation\n'
       - Press CTRL-C to abort the installation
     + printf '  - Or specify a different location below\n'
       - Or specify a different location below
     + printf '\n'

     + printf '[%s] >>> ' /Users/Nebula/anaconda3
     [/Users/Nebula/anaconda3] >>> + read -r user_prefix

     + '[' '' '!=' '' ']'
     + case "$PREFIX" in
     + '[' 0 = 0 ']'
     + '[' -e /Users/Nebula/anaconda3 ']'
     + '[' 0 = 1 ']'
     + mkdir -p /Users/Nebula/anaconda3
     ++ cd /Users/Nebula/anaconda3
     ++ pwd
     + PREFIX=/Users/Nebula/anaconda3
     + export PREFIX
     + printf 'PREFIX=%s\n' /Users/Nebula/anaconda3
     PREFIX=/Users/Nebula/anaconda3
     ++ tail -n +588 /Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
++ md5
+ MD5=ffe6c79627482cbbc073b4d7509bacb2
+ echo ffe6c79627482cbbc073b4d7509bacb2
+ grep ffe6c79627482cbbc073b4d7509bacb2
+ cd /Users/Nebula/anaconda3
+ unset PYTHON_SYSCONFIGDATA_NAME _CONDA_PYTHON_SYSCONFIGDATA_NAME
+ CONDA_EXEC=/Users/Nebula/anaconda3/conda.exe
+ dd if=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh bs=1 skip=27718 count=5050
+ dd if=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh bs=16384 skip=2 count=903
+ dd if=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh bs=1 skip=14827520 count=7405
+ chmod +x /Users/Nebula/anaconda3/conda.exe
+ export TMP_BACKUP=
+ TMP_BACKUP=
+ export TMP=/Users/Nebula/anaconda3/install_tmp
+ TMP=/Users/Nebula/anaconda3/install_tmp
+ printf 'Unpacking payload ...\n'
Unpacking payload ...
+ dd if=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh bs=1 skip=14834925 count=8979
+ /Users/Nebula/anaconda3/conda.exe constructor --extract-tar --prefix /Users/Nebula/anaconda3
+ dd if=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh bs=16384 skip=906 count=26470
+ dd if=/Users/Nebula/Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh bs=1 skip=448528384 count=4122
+ /Users/Nebula/anaconda3/conda.exe constructor --prefix /Users/Nebula/anaconda3 --extract-conda-pkgs
+ PRECONDA=/Users/Nebula/anaconda3/preconda.tar.bz2
+ /Users/Nebula/anaconda3/conda.exe constructor --prefix /Users/Nebula/anaconda3 --extract-tarball
+ rm -f /Users/Nebula/anaconda3/preconda.tar.bz2
+ PYTHON=/Users/Nebula/anaconda3/bin/python
+ MSGS=/Users/Nebula/anaconda3/.messages.txt
+ touch /Users/Nebula/anaconda3/.messages.txt
+ export FORCE
+ mkdir -p /Users/Nebula/.conda
+ CONDA_SAFETY_CHECKS=disabled
+ CONDA_EXTRA_SAFETY_CHECKS=no
+ CONDA_ROLLBACK_ENABLED=no
+ CONDA_PKGS_DIRS=/Users/Nebula/anaconda3/pkgs
+ /Users/Nebula/anaconda3/conda.exe install --offline --file /Users/Nebula/anaconda3/pkgs/env.txt -yp /Users/Nebula/anaconda3
[y/N]: y
+ exit 1
Nebula@Infinitys-MacBook-Pro ~ %

Alejandra Rougon

unread,
Jan 7, 2021, 3:13:50 PM1/7/21
to Anaconda - Public, Alejandra Rougon, rdon...@anaconda.com
it is weird that it tries to run conda.exe
instead of skiping the conda.exe line, it asks for y/N. It exits whether I put yes or no.

Message has been deleted

Alejandra Rougon

unread,
Jan 7, 2021, 3:59:41 PM1/7/21
to Anaconda - Public, Alejandra Rougon, rdon...@anaconda.com
SOLVED I finally solved it. I erased the .condarc and .conda folder in my home directory. Then I ran the installer again and it worked.

It seems that the problem was that everytime I was trying to reinstall anaconda I was only erasing the anaconda3 folder and not the files/folders hidden in the home directory which were causing the issue.
Reply all
Reply to author
Forward
0 new messages