ModuleNotFoundError: No module named 'prettytable'

Dear Support Team

I called the command of 'python buildprog.py -c both -b debug -d both -p' when I tested the nRF5340 Audio application in the TERMINAL of VS Code like the picture below, but it returned 'ModuleNotFoundError: No module named 'prettytable'. And I also tested this command on the Command Prompt and git-cmd.exe and both of them return the same error.

This command is in the section of this link:nRF5340 Audio — nRF Connect SDK 2.2.0 documentation (nordicsemi.com).

And the only thing that I changed is in the nrf5340_audio_dk_devices.json like the picture below.

Parents Reply Children
  • Hi Tom

    The error indicates that ZEPHYR_BASE is not set, this can either be set permanently with a system env variable, or you can open the the terminal through toolchain manager and it will be set for that terminal instance. 

    To open the terminal manger you can either open toolchain manger, select your sdk version,  and in the dropdown menu open a terminal,  navigate to to ncs\v2.2.0\nrf\applications\nrf5340_audio\tools\buildprog and run the command

    or

    With VScode select a nRF Connect terminal, navigate to to ncs\v2.2.0\nrf\applications\nrf5340_audio\tools\buildprog and run the command

    regards

    Runar

Related