【已解决】使用Jupyter Notebook时出现“TerminatedWorkerError”

问题描述:

在使用Jupyter Notebook调用pandas_profiling.ProfileReport(df)时,报错“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.”

解决方案如下:

  1. 终端输入pip list ,查看joblib-0.13.2
  2. 输入pip uninstall joblib
  3. 输入pip install -U joblib

重启kernel,然后再次执行代码,成功运行!

猜你喜欢

转载自blog.csdn.net/weixin_41698730/article/details/116335175
今日推荐