Anaconda 安装程序在解压有效负载后退出并且不安装任何东西

如何解决Anaconda 安装程序在解压有效负载后退出并且不安装任何东西

和大家一样,升级后我无法使用anaconda。最后,我删除了所有内容并再次下载以从头开始安装。 我在 Mac OS Catalina 10.15.7 上使用 Anaconda3-2020.11-MacOSX-x86_64.sh 在安装过程中,它说“解压缩有效载荷”并提取一些文件。之后,什么都没有发生,没有错误信息,什么都没有。

enter image description here

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

enter image description here

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

___更新:
我试过 bash 和 zsh,两者都一样。 然后我尝试使用 brew install anaconda 并出现此错误。

enter image description here

它也不安装它。

____更新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 文件夹,而不是隐藏在主目录中导致问题的文件/文件夹。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


依赖报错 idea导入项目后依赖报错,解决方案:https://blog.csdn.net/weixin_42420249/article/details/81191861 依赖版本报错:更换其他版本 无法下载依赖可参考:https://blog.csdn.net/weixin_42628809/a
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下 2021-12-03 13:33:33.927 ERROR 7228 [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPL
错误1:gradle项目控制台输出为乱码 # 解决方案:https://blog.csdn.net/weixin_43501566/article/details/112482302 # 在gradle-wrapper.properties 添加以下内容 org.gradle.jvmargs=-Df
错误还原:在查询的过程中,传入的workType为0时,该条件不起作用 <select id="xxx"> SELECT di.id, di.name, di.work_type, di.updated... <where> <if test=&qu
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct redisServer’没有名为‘server_cpulist’的成员 redisSetCpuAffinity(server.server_cpulist); ^ server.c: 在函数‘hasActiveC
解决方案1 1、改项目中.idea/workspace.xml配置文件,增加dynamic.classpath参数 2、搜索PropertiesComponent,添加如下 <property name="dynamic.classpath" value="tru
删除根组件app.vue中的默认代码后报错:Module Error (from ./node_modules/eslint-loader/index.js): 解决方案:关闭ESlint代码检测,在项目根目录创建vue.config.js,在文件中添加 module.exports = { lin
查看spark默认的python版本 [root@master day27]# pyspark /home/software/spark-2.3.4-bin-hadoop2.7/conf/spark-env.sh: line 2: /usr/local/hadoop/bin/hadoop: No s
使用本地python环境可以成功执行 import pandas as pd import matplotlib.pyplot as plt # 设置字体 plt.rcParams['font.sans-serif'] = ['SimHei'] # 能正确显示负号 p
错误1:Request method ‘DELETE‘ not supported 错误还原:controller层有一个接口,访问该接口时报错:Request method ‘DELETE‘ not supported 错误原因:没有接收到前端传入的参数,修改为如下 参考 错误2:cannot r
错误1:启动docker镜像时报错:Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen 解决方法:重启docker -> systemctl r
错误1:private field ‘xxx‘ is never assigned 按Altʾnter快捷键,选择第2项 参考:https://blog.csdn.net/shi_hong_fei_hei/article/details/88814070 错误2:启动时报错,不能找到主启动类 #
报错如下,通过源不能下载,最后警告pip需升级版本 Requirement already satisfied: pip in c:\users\ychen\appdata\local\programs\python\python310\lib\site-packages (22.0.4) Coll
错误1:maven打包报错 错误还原:使用maven打包项目时报错如下 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources (default-resources)
错误1:服务调用时报错 服务消费者模块assess通过openFeign调用服务提供者模块hires 如下为服务提供者模块hires的控制层接口 @RestController @RequestMapping("/hires") public class FeignControl
错误1:运行项目后报如下错误 解决方案 报错2:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project sb 解决方案:在pom.
参考 错误原因 过滤器或拦截器在生效时,redisTemplate还没有注入 解决方案:在注入容器时就生效 @Component //项目运行时就注入Spring容器 public class RedisBean { @Resource private RedisTemplate<String
使用vite构建项目报错 C:\Users\ychen\work>npm init @vitejs/app @vitejs/create-app is deprecated, use npm init vite instead C:\Users\ychen\AppData\Local\npm-