No such file or directory: 'nrfjprog'

I am using the Windows WSL system for reproducing MLPerf Tiny results and I am trying to flash NRF board. I am getting the following error:

```

-- west flash: using runner nrfjprog
Traceback (most recent call last):
File "/home/saheli/.local/bin/west", line 8, in <module>
sys.exit(main())
File "/home/saheli/.local/lib/python3.10/site-packages/west/app/main.py", line 793, in main
app.run(argv or sys.argv[1:])
File "/home/saheli/.local/lib/python3.10/site-packages/west/app/main.py", line 109, in run
self.run_command(argv)
File "/home/saheli/.local/lib/python3.10/site-packages/west/app/main.py", line 345, in run_command
self.run_extension(args.command, argv)
File "/home/saheli/.local/lib/python3.10/site-packages/west/app/main.py", line 417, in run_extension
command.run(args, unknown, self.topdir, manifest=self.manifest,
File "/home/saheli/.local/lib/python3.10/site-packages/west/commands.py", line 135, in run
self.do_run(args, unknown)
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/flash.py", line 29, in do_run
do_run_common(self, my_args, runner_args)
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/run_common.py", line 228, in do_run_common
runner.run(command_name)
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/runners/core.py", line 509, in run
self.do_run(command, **kwargs)
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/runners/nrfjprog.py", line 357, in do_run
self.ensure_snr()
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/runners/nrfjprog.py", line 100, in ensure_snr
self.snr = self.get_board_snr(self.snr or "*")
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/runners/nrfjprog.py", line 126, in get_board_snr
snrs = [snr for snr in self.get_boards() if fullmatch(re_glob, snr)]
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/runners/nrfjprog.py", line 104, in get_boards
snrs = self.check_output(['nrfjprog', '--ids'])
File "/home/saheli/CM/repos/local/cache/e21f0f7bac1a44ac/zephyr/scripts/west_commands/runners/core.py", line 618, in check_output
return subprocess.check_output(cmd, **kwargs)
File "/usr/lib/python3.10/subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.10/subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.10/subprocess.py", line 969, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nrfjprog'

```

I have set the nRF command line tool path in the ~/.bashrc file. But,

doing 
```
saheli@ovo:~$ nrfjprog -v
-bash: /home/saheli/nrfjprog/nrfjprog: No such file or directory

```
Can anyone please help?

Related