Hi!
Would anyone happen to know why Im getting the error “cannot import name ‘btle’” even though bluepy installed successfully in the terminal?
k9t33n
bluepy maybe installed but btle wasn't. you can't install separate libraries and expect them to work for all libraries
k9t33n
just did some research
k9t33n
you might want to change
py
Import btle
to
py
import bluepy.btle as btle
it should fix your code
bcaul
: (
oops.se
And it is difficult to read the area inside the red box as the picture is not cropped correctly before posted.
And it is also considered to be polite to post text as text!