nrf52840-mdk icon indicating copy to clipboard operation
nrf52840-mdk copied to clipboard

script failed when doing zephyr test

Open wangyanjiong163 opened this issue 3 years ago • 0 comments

Hi Experts,

When trying to do the test following the guide: https://wiki.makerdiary.com/nrf52840-mdk/zephyr/, I met below issue while doing "pip3 install --user -r scripts/requirements.txt". Anything I do to fix it and move on?

x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -flto -fuse-linker-plugin -ffat-lto-objects -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=572 -DPSUTIL_LINUX=1 -I/usr/include/python3.6m -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.6/psutil/_psutil_common.o
psutil/_psutil_common.c:9:10: fatal error: Python.h: 没有那个文件或目录
 #include <Python.h>
          ^~~~~~~~~~
compilation terminated.

BR. Wang Yanjiong

wangyanjiong163 avatar Sep 02 '20 07:09 wangyanjiong163