Debian系统运行Anaconda3安装bash脚本失败求助
安装Anaconda3到Debian时遇到NFS文件无法删除与BrokenProcessPool错误
我正在Debian系统上安装Anaconda3,按照步骤执行到运行安装脚本时出现了一系列错误,具体操作和问题如下:
操作步骤
- 下载Anaconda3安装脚本
wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
- 校验文件完整性(后续实际安装的是2020.02版本,因此校验了对应文件)
sha256sum Anaconda3-2020.02-Linux-x86_64.sh
得到的校验结果:
2b9f088b2022edb474915d9f69a803d6449d5fdb4c303041f60ac4aefcc208bb Anaconda3-2020.02-Linux-x86_64.sh
- 运行安装脚本时触发错误
bash Anaconda3-2020.02-Linux-x86_64.sh
错误日志
安装过程中在解压payload阶段出现多个NFS文件无法删除/重命名的提示,随后触发进程池错误:
Do you accept the license terms? [yes|no] [no] >>> yes Anaconda3 will now be installed into this location: /home/yaochung41/anaconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/home/yaochung41/anaconda3] >>> PREFIX=/home/yaochung41/anaconda3 Unpacking payload ... Extracting : greenlet-0.4.15-py37h7b6447c_0.conda: 7%|██ | 22/312 [00:22<35:21, 7.32s/it] Could not remove or rename /home/yaochung41/anaconda3/pkgs/astropy-4.0-py37h7b6447c_0xah6xj0a/.nfs00000000013303cd000002a8. Please remove this file manually (you may need to reboot to free file handles) Could not remove or rename /home/yaochung41/anaconda3/pkgs/pyzmq-18.1.1-py37he6710b0_02ba8b31p/.nfs00000000013b064a000002a9. Please remove this file manually (you may need to reboot to free file handles) Could not remove or rename /home/yaochung41/anaconda3/pkgs/pip-20.0.2-py37_1fi2wa6bk/.nfs00000000013900a1000002aa. Please remove this file manually (you may need to reboot to free file handles) Could not remove or rename /home/yaochung41/anaconda3/pkgs/spyder-4.0.1-py37_0n6g9iulc/.nfs0000000001380172000002ab. Please remove this file manually (you may need to reboot to free file handles) concurrent.futures.process._RemoteTraceback: ''' Traceback (most recent call last): File "concurrent/futures/process.py", line 367, in _queue_management_worker File "multiprocessing/connection.py", line 251, in recv TypeError: __init__() missing 1 required positional argument: 'msg' ''' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "entry_point.py", line 69, in <module> File "concurrent/futures/process.py", line 483, in _chain_from_iterable_of_lists File "concurrent/futures/_base.py", line 598, in result_iterator File "concurrent/futures/_base.py", line 435, in result File "concurrent/futures/_base.py", line 384, in __get_result concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending. [20962] Failed to execute script entry_point
已尝试的解决方法
- 完成了安装文件的SHA256校验,确认文件完整性无问题
- 搜索相关问题后,大部分建议都是校验文件完整性,但这一步我已经执行过,并未解决问题
系统信息
Debian 4.19.98-1 (2020-01-26) x86_64
有没有朋友遇到过类似的问题?恳请大家给我一些解决建议,非常感谢!
内容的提问来源于stack exchange,提问作者Yao-Chung
相关产品推荐
相关产品推荐

