You'll get a message like that when the string in question is what is passed directly to powershell as something it should know what to do with. It received lambci/lambda: and that's not a path to an executable or a valid command, so it barfs. Look at your script closer and see what's going on with it, somewhere that line is by itself and is messing things up.
python - Docker build image returning error: lambci/lambda : The term 'lambci/lambda' is not recognized as the name of a cmdlet, function, script file - Stack Overflow
amazon web services - how can i install python local project into lambci/lambda docker image? - Stack Overflow
Mocking lambda using Python 3.12 Runtime fails: `manifest for lambci/lambda:python3.12 not found`
Serverless Lambda: Where is Dockerfile for lambci/lambda:build-python3.6 image? - Serverless Framework - Serverless Forums
I’m pretty new and trying to learn how to use Python and Lambda. My code has been getting a lot of errors, even if I copy a simple Python application. One thing I noticed later than I should have, is that I’m on the current version of Python at 3.10.2 and Lambda runtimes only go up to Python 3.9
Am I creating problems for myself just from being on Python 3.10.2? Is there an industry standard Python version that most people use like 3.6, 3.7, 3.8 etc