Bolt import error in ubuntu


For checking the device status on ubuntu I’m not able to import ‘bolt name’ from ‘boltiot’

@maktabayaamir

Did you go through the below module to setup the boltiot python library?

Yes i did the complete setup too

@maktabayaamir

Can you please share the code?

@maktabayaamir

You’ve have previously created a file with name ‘boltiot.py’. Please remove that using the below command -

sudo rm boltiot.py

Then try running the code.

For the controlling led thorough bolt python library the code is executed correctly but the led is not turned on

@maktabayaamir

Make sure the connections are correct. Long leg to the Pin number, and short leg to the GND

Yes they are correct

@maktabayaamir

Share a snap of the code, and the hardware connections on your module.