-
Notifications
You must be signed in to change notification settings - Fork 227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lambda is not reconized as a command #135
Comments
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 After trying the first time, I found this 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'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 < ***@***.***> 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
<#135 (comment)>,
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 |
So I run exactly these commands, as the readme.md file explains:
From your pylambda directory, run the following to bootstrap your project.
When I run
lambda init
, It throws "lambda" is not recognized as an internal command. How can I fix this?The text was updated successfully, but these errors were encountered: