question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

lambda is not reconized as a command

See original GitHub issue

So I run exactly these commands, as the readme.md file explains:

$ mkvirtualenv pylambda
(pylambda) $ mkdir pylambda
(pylambda) $ pip install python-lambda

From your pylambda directory, run the following to bootstrap your project.

(pylambda) $ cd pylambda
(pylambda) $ lambda init

When I run lambda init, It throws “lambda” is not recognized as an internal command. How can I fix this?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

4reactions
nathanjrcommented, Mar 25, 2019

I’m on Windows 10 as well. I had to rename “lambda” to “lambda.py” in my python “Scripts” folder. I could then do “lambda.py init”.

1reaction
stevefancommented, Apr 1, 2019

Sorry didn’t read it carefully enough. Got to a similar error where expected commands didn’t work but from installing the wrong package, it was late and didn’t notice the details of your post.

On Sun, Mar 31, 2019 at 7:23 PM Alisson Reinaldo Silva < notifications@github.com> wrote:

pylambda and python-lambda are different packages

pip python-lambda is the recommended install via https://pypi.org/project/python-lambda/ and behaves as this projects readme says it should e.g. lambda init works

I did install python-lambda, not sure if you read my post carefully. I did everything explained in the readm.me and it was not working.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nficano/python-lambda/issues/135#issuecomment-478413880, or mute the thread https://github.com/notifications/unsubscribe-auth/AFKIxay9H16iXlZJbusq3p30jdQy7TkPks5vcW2PgaJpZM4bB8rG .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lambda-Local not recognized as internal or external command
A simple fix is either add nodevars.bat to your startup, or explicitly add the folder C:\Users[youruser]\AppData\Roaming\npm\ to your path, or ...
Read more >
Troubleshoot invocation issues in Lambda
For a list of error types that the Invoke operation can return, see Invoke. IAM: lambda:InvokeFunction not authorized. Error: User: arn:aws:iam::123456789012: ...
Read more >
Running an AWS Lambda Command from Windows Shells
I have been using Linux as my primary OS for quite a while and was surprised when the simple aws lambda invoke command...
Read more >
LAMBDA function - Microsoft Support
Use a LAMBDA function to create custom, reusable functions and call them by a ... Also, when you use the Evaluate command, Excel...
Read more >
Implement an AWS Lambda using .NET | Web Age Solutions
Lambda.Templates. AWS CLI – Amazon AWS Command Line Interface ... 'aws' is not recognized as an internal or external command, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found