
解决用pyLDAvis做可视化的时候报错:TerminatedWorkerError: A worker process managed by the executor was...
之前一直都是在jupyter上面运行的,今天换到pycharm上运行,报错更加清晰joblib.externals.loky.process_executor.TerminatedWorkerError,去网上查了一下是因为joblib包版本过高(我的joblib版本是1.3.2),降低一下版本就行了。
·
最近在学LDA主题模型分析,前面文本预处理的代码都调试好了,最后用pyLDAvis进行可视化的时候一直报错:TerminatedWorkerError:A worker process managed by the executor was unexpectedly terminated. This could be caused by a segmentation fault while calling the function or by an excessive memory usage causing the Operating System to kill the worker.困扰了我好几天。
之前一直都是在jupyter上面运行的,今天换到pycharm上运行,报错更加清晰joblib.externals.loky.process_executor.TerminatedWorkerError,去网上查了一下是因为joblib包版本过高(我的joblib版本是1.3.2),降低一下版本就行了。赶紧过来记录一下
pip install joblib==1.2.0
然后终于运行成功了
更多推荐
所有评论(0)