0

When I used joblib for multi-process concurrency, I encountered an error:

_pickle.PicklingError: Could not pickle the task to send it to the workers.

Solution 1:

spacy with joblib library generates _pickle.PicklingError: Could not pickle the task to send it to the workers

Solution: import dill as pickle dill

But where does this code import dill as pickle need to be added?

The comment below the answer, a few people also asked, where to add it?

Solution 2:

Serialization of un-picklable objects

It does not work in my code.

jaried
  • 530
  • 2
  • 12

0 Answers0