安装anaconda出错
[/root/anaconda3] >>>
PREFIX=/root/anaconda3
Anaconda3-5.3.0-Linux-x86_64.sh: line 353: bunzip2: command not found
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
解决方法:
(1)安装bzip2
yum install -y bzip2
(2)删除之前安装未成功残留的文件
rm -rf /root/anaconda3/
(3)重新安装
bash Anaconda3-5.3.0-Linux-x86_64.sh
本文详细介绍了在安装Anaconda过程中遇到的错误“bunzip2: command not found”及“tar: This does not look like a tar archive”的解决步骤。首先,通过'yum install -y bzip2'安装缺失的bzip2组件;其次,删除残留的安装目录;最后,重新运行安装脚本。

被折叠的 条评论
为什么被折叠?



