首页 > 解决方案 > Conda: concurrent.futures.process.BrokenProcessPool: 进程池中的一个进程在未来运行或挂起时突然终止

问题描述

我想在我的 mac(版本 10.9.5)上安装 Anaconda。

我使用的命令:

sh Anaconda3-2020.02-MacOSX-x86_64.sh 

导致这个错误:

Unpacking payload ...
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.
[1061] Failed to execute script entry_point

在根深蒂固之后,我发现了这个建议,即我检查哈希。

我输入了这个:

shasum -a 512 /Users/Slowat/Anaconda3-2020.02-MacOSX-x86_64.sh 

输出是:

aa1ed0c40646ba9041abf59c13ce38da1dc51bf15de239b6f966a0b02b4c09c960ae33698c72aa46db41731f8e67938d1972fcb76fa4c5c8081bc0272bb1b535  /Users/Slowat/Anaconda3-2020.02-MacOSX-x86_64.sh

此处列出的哈希与此不匹配。

所以我认为这是下载的问题,所以我删除了 bash 脚本和 anaconda 在安装失败期间尝试创建的目录。

我仔细检查了我的 python 版本:

localhost:~ Slowat$ python --version
Python 3.7.4

并从这里重新下载 Anaconda3-2020.02-MacOSX-x86_64.sh 。

我重新检查了哈希:

aa1ed0c40646ba9041abf59c13ce38da1dc51bf15de239b6f966a0b02b4c09c960ae33698c72aa46db41731f8e67938d1972fcb76fa4c5c8081bc0272bb1b535  /Users/Slowat/Anaconda3-2020.02-MacOSX-x86_64.sh

它仍然是错误的。任何我在这里做错的想法(主要是针对原始区域,检查哈希只是我的一个想法)。

标签: pythonanaconda

解决方案


GitHub 问题marhil95中所述,如果磁盘空间不足,您也会收到此错误。


推荐阅读