Sir this is also not working.
It’s installed. Look. Try the device status project. Boltiot is successfully installed, look.
Hi @sec19ec082,
Run a series of codes to check which one works. I believe, your OS error was with python3 = 3.5.2, right?
Then, you installed python3.7 successfully.
Currently,
Your python version is 2.7, python3 version is 3.5 and python3.7 version is 3.7.
First check if running the code with python 2.7 gives you an error or not.
sudo python device_status2.py
If it doesn’t run, we will first install boltiot with py version 3.7. Run below code -
sudo pip3.7 install boltiot
Then run the program with,
sudo python3.7 device_status2.py
You shouldn’t get the module issue. But check if you still get the OS error.
My problem Solved ,THANK YOU SO MUCH FOR YOUR KIND HELP SIR.
I hope you’ve understood what was wrong and the solution for it as well.
Let me know if you have any other queries.
Hi @adngangstergamers ,
Please run the following commands to install the Bolt Python Library:
sudo apt-get -y update
sudo apt install python3-pip
sudo pip3 install boltiot
Let me know if it doesn’t work.
Im already did this sir, it is alredy downloaded but this error araises again
Sir again same error
@adngangstergamers here’s what you need to do:
from boltiot import Bolt
Let me know if it doesn’t work, the code from bolt import bolt
is incorrect.
[ image removed ]
While importing bolt, b should be small otherwise error come araises from 1st line
@adngangstergamers well it should be
from boltiot import Bolt #capital `B` only.
The error is coming because there’s no command like mybolt.response()
. Check out the documentation for the library here.
Also, please regenerate your API Key as you have exposed it publicly.
Sir!
Could you please send the full code I couldn’t solve
Same error araising