This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

"No module named elftools" by debuging on SEGGER Embedded Studio

Hello,

I am trying to build new samples but I am getting the follow error: 

Any idea or advice? Did I miss something?

Thanks,

Regards,

Ana Garcia

Parents
  • Hi,

     

    Looks like you're missing pyelftools (pip3 install pyelftools), but this should have come from the pip3 install -r ncs/zephyr/scripts/requirements.txt.

    Did you forget, or get an error while performing this step?

    cd <sourcecode_root>\ncs
    pip3 install -r zephyr\scripts\requirements.txt
    pip3 install -r nrf\scripts\requirements.txt
    pip3 install -r mcuboot\scripts\requirements.txt

    If you get an error, please post it here. 

    Kind regards,

    Håkon

Reply
  • Hi,

     

    Looks like you're missing pyelftools (pip3 install pyelftools), but this should have come from the pip3 install -r ncs/zephyr/scripts/requirements.txt.

    Did you forget, or get an error while performing this step?

    cd <sourcecode_root>\ncs
    pip3 install -r zephyr\scripts\requirements.txt
    pip3 install -r nrf\scripts\requirements.txt
    pip3 install -r mcuboot\scripts\requirements.txt

    If you get an error, please post it here. 

    Kind regards,

    Håkon

Children
Related