python-lambda
                                
                                 python-lambda copied to clipboard
                                
                                    python-lambda copied to clipboard
                            
                            
                            
                        lambda is not reconized as a command
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?
Without knowing more specifics about your particular setup, I don't think anyone will be able to help. When I run those same commands verbatim, everything works fine. Are you on Linux, Mac, Windows, WSL? Are you using anything like pyenv or conda? What version of Python do you have installed?
Hi @soapergem , I appreciate your help.
So I'm using Windows 10 Pro, and regarding the packages you mentioned, these are the versions:

I don't have pyenv, I do have conda, but it's not installed globally (added to my environment variable PATH). So I suspect it shouldn't be impacting this. When I need to use conda, I either use PyCharm IDE, or open Anaconda Prompt instead of powershell and CMD.
After trying the first time, I found this virtualenvwrapper-win (which is a wrapper for windows), I installed version 1.2.5 but it failed as well.
Right now I'm deploying my Python code to Azure Functions, however I'd like to try using AWS Lambda. So Azure provide a cli which is used to deploy code. If you have docker installed, behind the scenes they use docker to pull some Linux image, build everything they need there, and finally deploy. I believe this package aims to do the same thing, which would be something really useful.
I'm sorry If I couldn't help with enough details, but please let me know if there is anything else I could do to help.
Try "lambda.py" instead of just "lambda". I had the same issue and this fixed it for me since the lambda command is a .py file.
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".
@Varxtis511 @nathanjr nice catch, I'll try that when I come back to this project. Thanks!!!
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 < [email protected]> 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 .
@stevefan that's cool mate, I understand you were just trying to help, I appreciate that. Unfortunately I'm working on a different project now, but if this thread is still open when I get back to this project, I'll post here my findings.
If it helps anyone, I had both rename lambda to lambda.py and then invoke it with python c:\full\path\to\lambda.py init