Blynk 2.0 and Thonny python Raspberry Pi

Hi, I am new here and in new in this field too, need some guidance from seniors! My blynk 2.0 can’t seem to connect with raspberry pi CM4. I am using python to program the codes. Got all the authentication, template ID and Device name. Inserted all into a program but I’m not getting connection.

Changed the blynk-cloud.com to blynk.cloud. I’m just trying to run a simple LED blynk IoT through WiFi. I would really appreciate your help!

Thanks.

This code is just to try and get the connection from my python to blynk 2.0

import blynklib

BLYNK_TEMPLATE_ID = 'XXXXXXXXXXXXX'
BLYNK_DEVICE_NAME = 'XXXXXXXXXXXXXX'
BLYNK_AUTH = 'XXXXXXXXXXXXXX'

blynk = blynklib.Blynk(BLYNK_AUTH)

while True;
      blynk.run()

you need to use this lib -https://github.com/vshymanskyy/blynk-library-python