Is it possible to run .ipynb of this book on colab?

I’d like to begin reading this book and running its examples. However, for some resoans I am not allowed to install Conda on the machine. So, I have tried to run notebook on colab. However, once running the first cell, it give an Error like this:

%matplotlib inline
import math
import time
import numpy as np
import torch
from d2l import torch as d2l
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-7a344dafd5da> in <module>
      4 import numpy as np
      5 import torch
----> 6 from d2l import torch as d2l

ModuleNotFoundError: No module named 'd2l'

Any thought on this that might help?

你当前colab环境没有装d2l包,单独运行代码:
! pip install d2l
每次使用colab都要输入一次

you have to install d2l