Thank you a lot for your help.
My laptop model is Xiaomi Redmibook 16.
I am running above code in pycharm 2021.2, python 3.9.  At the beginning it display no NVIDIA Graphic driver and i install NVIDIA GeForce 610M. It didn’t work before.