ImportError: cannot import name 'dlpack'

I have installed dgl successfully. But when I import dgl, there’s an ImportError as below:

Which version of PyTorch are you using? Could you please try to update PyTorch?

PyTorch started supporting dlpack since v0.4.1, so please upgrade your PyTorch to v0.4.1 or later.