How to set up jupyter in a conda environment?

I found a new book, Dive into Deep Learning, to learn deep learning. However, I followed the tutorial of installation. At first everything was fine, but when I started to run the example in jupyter webpage, which showed the no found module error. I checked the error message and found the it uses my system python as kernel instead of the python on my activation environment. So I asked ChatGPT and found the solution...