Project 9, error

I had checked all the keys and they are correct and my code is also correct and there are no typo errors but when i run the code the output shows in this way

Amd my code is this

Hello @yashdadi872,

I am making a suggestion that I hope will make your program work. Please run the below commands on your terminal in Ubuntu to ensure that you have downloaded the following libraries on your Ubuntu machine on VMWare.

sudo apt-get update
sudo pip3 install boltiot
sudo pip3 install pyOpenSSL ndg-httpsclient pyasn1
sudo pip3 install 'requests[security]'

I feel this may be the solution as the error shows that " ‘email’ is not a package ". Basically, there is an error in the imported packages. They were probably not downloaded properly. There is no error in your code from what I have seen.

Best of luck. Let me know if the error is resolved.

Yours Sincerely,

1 Like

From what I understand looking at your errors is that you have not downloaded the Bolt Python Library use the following commands and try the code again.
sudo apt-get -y update
sudo apt install python3-pip
sudo pip3 install boltiot

1 Like

Hi @yashdadi872,

Please type the listing command and share the screenshot of the output.

1 Like

My issue got resolved sir
There was some error in mail gun url and later it worked

Sir is there any way such that we can connect both ldr and lm35 sensors to bolt module

Thank u for taking time to help me out

Thank u for taking time to help me out…