the code is showing error that module not found in the line 1 of the following code
from boltiot import Bolt
api_key = "5aa72013-a51e-485a-898c-0c0ffc11e96a"
device_id = "BOLT290760"
mybolt = Bolt(api_key, device_id)
response = mybolt.restart()
module not found error in line 1 could be because you have not installed boltiot library
try “sudo pip3 install boltiot” again.
paste a screenshot if the error still persists and also a screenshot of the output after typing the sudo command so that we know that you have correctly installed the library
Within the course under the ‘Bolt Python Library’ section open ‘Setup the Bolt python library’ scroll down to ‘troubleshooting’ and you will find a solution to this.
Please do let me know if this helped to fix your issue.
First type the below command
sudo apt-get update
sudo apt-get install python3-pip
then the below commands
and then install the boltiot packages .
Do let me know in case you need any other information.
I did those things the software got installed also but I don’t know why the command is not executing