RuntimeError: CUDA unknown error

RuntimeError: CUDA unknown error - this may be due to an incorrectly set up environment, e.g. changing env variable CUDA_VISIBLE_DEVICES after program start. Setting the available devices to be zero.

i need your help on how i can resolve this issues.
img

检查一个cuda的驱动和版本是不是对的上你运行库所要求的版本,然后可能你的环境是多显卡的画,指定一下使用那些显卡

import os
os.environ['CUDA_VISIBLE_DEVICES'] =‘0’ # 指定编号为0的一张显卡,"0,1,2,3"4

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.