West Flash python dependency issue

Srinivasan Tamilarasan

Hi Guys,

When I try flash my custom board using west –verbose flash command, I am getting below python dependency error. Can you help me to resolve this issue?


-- west flash: using runner jlink.

FATAL ERROR: verbose mode enabled, dumping stack:

Traceback (most recent call last):

  File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main

    return _run_code(code, main_globals, None,

  File "c:\python39\lib\runpy.py", line 87, in _run_code

    exec(code, run_globals)

  File "C:\Python39\Scripts\west.exe\__main__.py", line 7, in <module>

  File "c:\python39\lib\site-packages\west\app\main.py", line 779, in main

    app.run(argv or sys.argv[1:])

  File "c:\python39\lib\site-packages\west\app\main.py", line 106, in run


  File "c:\python39\lib\site-packages\west\app\main.py", line 338, in run_command

    self.run_extension(args.command, argv)

  File "c:\python39\lib\site-packages\west\app\main.py", line 408, in run_extension

    command.run(args, unknown, self.topdir, manifest=self.manifest)

  File "c:\python39\lib\site-packages\west\commands.py", line 132, in run

    self.do_run(args, unknown)

  File "D:\BIDC\Development\3_IPC\zephyr\zephyr\scripts\west_commands\flash.py", line 29, in do_run

    do_run_common(self, my_args, runner_args)

  File "D:\BIDC\Development\3_IPC\zephyr\zephyr\scripts/west_commands\run_common.py", line 228, in do_run_common


  File "D:\BIDC\Development\3_IPC\zephyr\zephyr\scripts/west_commands\runners\core.py", line 509, in run

    self.do_run(command, **kwargs)

  File "D:\BIDC\Development\3_IPC\zephyr\zephyr\scripts/west_commands\runners\jlink.py", line 183, in do_run

    raise RuntimeError('one or more Python dependencies were missing; '

RuntimeError: one or more Python dependencies were missing; see the getting started guide for details on how to fix.




Join {devel@lists.zephyrproject.org to automatically receive all group messages.