python 3.x – command not found: newrelic-lambda

Trying to use the newrelic cli to integrate my aws account to new relic, but have run into this hiccup. I’m following these steps:docs.newrelic.com/docs/serverless-function-monitoring/aws-lambda-monitoring/enable-lambda-monitoring/account-linking

After installing pip3 install newrelic-lambda-cli, I then try to run the command

newrelic-lambda integrations install --nr-account-id YOUR_NR_ACCOUNT_ID \ --nr-api-key YOUR_NEW_RELIC_USER_KEY

and get the following error:

zsh: command not found: newrelic-lambda

I then check python to see if I have installed the package, and I am seeing that it is installed:

enter image description here

Anyone know why I’m unable to find the newrelic-lambda command?

Read more here: Source link