← index #15205Issue #7054
Related · high · value 3.488
QUERY · ISSUE

ImportError: No module named 'bluetooth'

openby RobeAlVaopened 2024-06-04updated 2024-09-08
docs

Port, board and/or hardware

XIAO Seeed Sense BLE nrF52840

MicroPython version

MicroPython v1.23.0 on 2024-06-02; XIAO nRF52840 Sense with NRF52840

Reproduction

import bluetooth

Expected behaviour

Run the code

Observed behaviour

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'bluetooth'

Additional Information

I'm using a XIAO Seeed Sense BLE nrF52840 in Micropython where I want to initialize BLE communication but when I try to run the code I get an error that says "ImportError: no module named 'bluetooth'"

Code of Conduct

Yes, I agree

CANDIDATE · ISSUE

Bluetooth: two exampleImportErrors: no module named 'ble_advertising' or 'bletooth_advertising'

closedby Ce345opened 2021-03-19updated 2021-03-20

This error must be earlier reported. Extensive search did not give any results. Therefor this try.
Have tried out two examples in Thonny with the ESP32 as interpreter. (ESP32 micro python tested with a py blink).

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied