Bolt not defined error

project 6:after entering all the necessary details like api and device id in the below program

from boltiot import Bolt
api_key = “XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”
device_id = “BOLTXXXXXX”
mybolt = Bolt(api_key, device_id)
response = mybolt.isOnline()
print (response)

I entered my api key and device id
but its showing error …like

Name error;Name ‘Bolt’ is not defined
help me out with this

You have to set up the BOLT library.

sudo pip3 install boltiot
Even after this its showing the same…

@deepakparabhu2205 Do you have another file with the name as boltiot.py in your directory? If yes, then please rename it and try again.
The rename command is,
sudo mv file_name.py new_file_name.py