I'm seeing the following error (stack trace below). I looked at the module structure of the dill library, and it does not have a dill submodule (although it does have a _dill submodule). I think the correct way to reference Pickler is simply dill.Pickler.
Oddly, I have successfully used Beam 2.4.0 in the past with this version of Dill. ¯(ツ)/¯