Today, I got the same error. I have not installed any packages or modified any files since yesterday. But this problem happened.
I checked the WSL installation. I tried to reinstall the driver package and I saw that, the Graphics driver not available.
After only this driver installed, I checked the examples again and it worked. (In my opinion, this may cause daily updates but I’m not sure)
Hope it works your device too
Regards

