7 years, 5 months ago.

mbed detect error

Hello community, I am very new here and trying to onboard myself.

After installing the CLI I am trying to import and compile some basic applications. if I import BLE_Basic and execute mbed detect I get the error

Traceback (most recent call last): File "/Users/halil/Development/mbed/BLE_Basic/.temp/tools/detect_targets.py", line 33, in <module> from tools.test_api import get_autodetected_MUTS_list File "/Users/halil/Development/mbed/BLE_Basic/.temp/tools/test_api.py", line 68, in <module> from tools.test_exporters import ReportExporter, ResultExporterType ImportError: No module named test_exporters [mbed] ERROR: "/usr/local/opt/python/bin/python2.7" returned error code 1. [mbed] ERROR: Command "/usr/local/opt/python/bin/python2.7 -u /Users/halil/Development/mbed/BLE_Basic/.temp/tools/detect_targets.py" in "/Users/halil/Development/mbed/BLE_Basic"

I googled a lot but could not find a proper solution. Anyone can help ? Cheers

2 Answers

7 years, 5 months ago.

Can you link the program you are compiling?

7 years, 5 months ago.

Hi Can,

It should work now. Just run mbed deploy again.

-Jimmy