I try to build the sample/bluetooth/central_hr by command of "make BOARD=nrf52_pca10040",
it build fail , the log is show like below. And I try to build some other bluetooth sample, it seem it will be also fail, when I use the BOARD as nrf52_pca10040.
{code:java}
GEN ./Makefile
CHK include/generated/version.h
UPD include/generated/version.h
DTC dts/arm/nrf52_pca10040.dts_compiled
CHK include/generated/generated_dts_board.h
Traceback (most recent call last):
File "/home/hbl/parkinglot/zephyr/scripts/extract_dts_includes.py", line 6, in
import yaml
ImportError: No module named 'yaml'
/home/hbl/parkinglot/zephyr/Makefile:946: recipe for target 'include/generated/generated_dts_board.h' failed
make[2]: [include/generated/generated_dts_board.h] Error 1
make[2]: Leaving directory '/home/hbl/parkinglot/zephyr/samples/bluetooth/central/outdir/nrf52_pca10040'
Makefile:177: recipe for target 'sub-make' failed
make[1]: [sub-make] Error 2
make[1]: Leaving directory '/home/hbl/parkinglot/zephyr'
/home/hbl/parkinglot/zephyr/Makefile.inc:82: recipe for target 'all' failed
make: *** [all] Error 2
Reported by guiwu guo:
I try to build the sample/bluetooth/central_hr by command of "make BOARD=nrf52_pca10040", it build fail , the log is show like below. And I try to build some other bluetooth sample, it seem it will be also fail, when I use the BOARD as nrf52_pca10040.
{code:java} GEN ./Makefile CHK include/generated/version.h UPD include/generated/version.h DTC dts/arm/nrf52_pca10040.dts_compiled CHK include/generated/generated_dts_board.h Traceback (most recent call last): File "/home/hbl/parkinglot/zephyr/scripts/extract_dts_includes.py", line 6, in
import yaml
ImportError: No module named 'yaml'
/home/hbl/parkinglot/zephyr/Makefile:946: recipe for target 'include/generated/generated_dts_board.h' failed
make[2]: [include/generated/generated_dts_board.h] Error 1
make[2]: Leaving directory '/home/hbl/parkinglot/zephyr/samples/bluetooth/central/outdir/nrf52_pca10040'
Makefile:177: recipe for target 'sub-make' failed
make[1]: [sub-make] Error 2
make[1]: Leaving directory '/home/hbl/parkinglot/zephyr'
/home/hbl/parkinglot/zephyr/Makefile.inc:82: recipe for target 'all' failed
make: *** [all] Error 2
{code}
(Imported from Jira ZEP-2092)