[Solved] "TerminatedWorkerError" appears when using Jupyter Notebook

Problem Description:

在使用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.”

 

The solution is as follows:

  1. Enter pip list in the terminal to view joblib-0.13.2
  2. Type pip uninstall joblib
  3. Type pip install -U joblib

Restart the kernel, then execute the code again, and it runs successfully!

Guess you like

Origin blog.csdn.net/weixin_41698730/article/details/116335175