Error while importing d2l

I am currently using Google Colab for programming,its giving me error while importing d2L

Import error :- np is not defined


I’m guessing you are encountering this issue:

The book depends code in mxnet that hasn’t been released yet. Can you try installing a nightly release of mxnet?

Something like:
pip install mxnet-cu100 --pre

The exact mxnet package to use can be different on Google Colab, this line assumes a Nvidida Cuda device will be used with v10 drivers.