'jira-agile-metrics command is throwing file not found error

for i in pods:
 subprocess.Popen(["jira-agile-metrics", i], stdout=subprocess.PIPE)
 output = subprocess.communicate()[0]

This code giving FileNotFoundError: [Errno 2] No such file or directory: 'jira-agile-metrics'

I already installed jira-agile-metrics. How can I solve this issue?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source