Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Macos Anaconda安装程序在打开有效负载后退出,不安装任何内容_Macos_Installation_Anaconda_Macos Catalina_Anaconda3 - Fatal编程技术网

Macos Anaconda安装程序在打开有效负载后退出,不安装任何内容

Macos Anaconda安装程序在打开有效负载后退出,不安装任何内容,macos,installation,anaconda,macos-catalina,anaconda3,Macos,Installation,Anaconda,Macos Catalina,Anaconda3,和大家一样,升级后我不能使用anaconda。最后,我删除了所有内容并再次下载,从头开始安装。 我正在Mac OS Catalina 10.15.7上使用Anaconda3-2020.11-MacOSX-x86_64.sh 在安装过程中,它会显示“解包负载”,并提取一些文件。在那之后,什么都没有发生,没有错误消息,什么都没有 如果我转到/Users/Nebula/anaconda3/只有几个文件。没有bin文件夹 基本上它根本没有安装。如果我使用图形安装程序,也会发生同样的情况 ___更新:

和大家一样,升级后我不能使用anaconda。最后,我删除了所有内容并再次下载,从头开始安装。 我正在Mac OS Catalina 10.15.7上使用Anaconda3-2020.11-MacOSX-x86_64.sh 在安装过程中,它会显示“解包负载”,并提取一些文件。在那之后,什么都没有发生,没有错误消息,什么都没有

如果我转到/Users/Nebula/anaconda3/只有几个文件。没有bin文件夹

基本上它根本没有安装。如果我使用图形安装程序,也会发生同样的情况

___更新:
我尝试了bash和zsh,两者都一样。 然后我尝试使用brew安装anaconda,结果出现了此错误

它也没有安装它

____更新2:
我一直在尝试几个版本,并设法从2018年开始安装一个版本。但是,当我运行conda时,它显示:发生了意外错误

____更新3:
我已经用bash-x运行了它,这里是输出。最后,它似乎试图运行conda.exe,这是一个奇怪的mac。它询问是/否,无论我回答是还是否,它都会退出

Nebula@Infinitys-MacBook-Pro ~ % bash -x Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
+ unset DYLD_LIBRARY_PATH
+ echo Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
+ grep '\.sh$'
+ '[' -n /bin/zsh ']'
+ RUNNING_SHELL=/bin/zsh
+ '[' -z /bin/zsh ']'
+ '[' '!' -f /bin/zsh ']'
+ '[' -z /bin/zsh ']'
+ '[' '!' -f /bin/zsh ']'
+++ dirname Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
++ DIRNAME=Downloads
++ cd Downloads
++ pwd
+ THIS_DIR=/Users/Nebula/Downloads
++ basename Downloads/Anaconda3-2020.11-MacOSX-x86_64.sh
+ THIS_FILE=Anaconda3-2020.11-MacOSX-x86_64.sh
+ 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_CHANNELS=https://repo.anaconda.com/pkgs/main,https://repo.anaconda.com/pkgs/main,https://repo.anaconda.com/pkgs/r,https://repo.anaconda.com/pkgs/pro
+ 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 ~ %

解决了我终于解决了。我删除了主目录中的.condarc和.conda文件夹。然后我再次运行安装程序,它成功了

问题似乎是每次我试图重新安装anaconda时,我只是删除anaconda3文件夹,而不是导致问题的主目录中隐藏的文件/文件夹