← index #15205Issue #6414
Related · high · value 4.477
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

nrf52 DK Bluetooth Support in Micropython (Zephyr Port)

closedby mridwangopened 2020-09-06updated 2024-12-27
proposed-close

Hi , I am getting the following error while importing Bluetooth Module in NRF52 DK in REPL. Does Micropython supports BLE module? Please advise.

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

Also it is not importing Network Module.

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