FileNotFoundError: [Errno 2] No such file or directory: 'command'

Hello,

I have installed diphtoscan according to the installation page and successfully invoked main.py script from diphtoscan folder. Then I try running this command:

python3 /home/randi/Programs/diphtoscan/main.py -a pilon/ --mlst --resistance_virulence --threads 8 -o diphtoscan/

all assemblies were in pilon/ folder

Then I encountered this error

Traceback (most recent call last): File "/home/randi/Programs/diphtoscan/main.py", line 315, in args = parse_arguments() 
File "/home/randi/Programs/diphtoscan/main.py", line 309, in parse_arguments args = test_required_dependency(args) 
File "/home/randi/Programs/diphtoscan/main.py", line 149, in test_required_dependency test_multiple_dependencies(diphtoscan_dependencies) 
File "/home/randi/Programs/diphtoscan/main.py", line 133, in test_multiple_dependencies rc = test_unique_dependency(dependency) 
File "/home/randi/Programs/diphtoscan/main.py", line 128, in test_unique_dependency return subprocess.call(["command", "-v", name]) 
File "/usr/lib/python3.10/subprocess.py", line 345, in call with Popen(*popenargs, **kwargs) as p: 
File "/usr/lib/python3.10/subprocess.py", line 971, in init self._execute_child(args, executable, preexec_fn, close_fds, 
File "/usr/lib/python3.10/subprocess.py", line 1863, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'command'

is there anyway to fix this error?

Thank you