i have dask-2021.4.0 , when i submit client job its give error ImportError: cannot import name 'dumps_msgpack' from 'distributed.protocol.core'
here is my code:
from dask.distributed import Client
client = Client() # start local workers as processes
# or
client = Client(processes=False) # start local workers as threads
def inc(x):
return x + 1
a = client.submit(inc, 10) # calls inc(10) in background thread or process