python - 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
它仍然是错误的。任何我在这里做错的想法(主要是针对原始区域,检查哈希只是我的一个想法)。
解决方案
如GitHub 问题marhil95
中所述,如果磁盘空间不足,您也会收到此错误。
推荐阅读
- flutter - 将 pop 作为 voidcallback 发送到函数
- php - 从返回的节点的 Goutte 请求中提取特定的 xml
- reactjs - 我想从我的模式中的剧集中获取季节我有从剧集到季节的连接
- visual-studio - Microsoft Visual Studio 不像教程中那样自动完成
- javascript - 将荧光笔添加到 Javascript 表搜索/过滤器
- devexpress - dxList 自定义“全选”文本 - devextreme jquery 小部件
- powerbi - Power Bi Desktop 错误信息:每个原始名称必须属于所有名称的集合
- javascript - 等待 api 调用反应之前的数据更新
- python - 使用 scipy.integrate.quadrature 时出现类型错误
- javascript - 使用异步操作时,来自 Vuex 的 NUXT 属性不会在 DOM 中更新