From Pypi, numpy==1.21.2 requires at python version to be Python >=3.7, <3.11.

You should either upgrade your lambda image to lambci/lambda:build-python3.8 or downgrade the version of numpy to numpy==1.19.5 which supports python3.6.

Answer from Oluwafemi Sule on Stack Overflow
🌐
Stack Overflow
stackoverflow.com › questions › 68727473 › stderr-unable-to-find-image-lambci-lambdabuild-python37-locally
python - STDERR: Unable to find image 'lambci/lambda:build-python37' locally - Stack Overflow
Serverless: Docker Image: lambci/lambda:build-python37 Serverless: Using download cache directory /var/lib/jenkins/.cache/serverless-python-requirements/downloadCacheslspyc Serverless: Running docker run --rm -v /var/lib/jenkins/.cache/serverless-python-requirements/31d5a3a03f3d66402b20d9de9af44c55ef7d81ac685a1682ee07e7108d6547ef_slspyc\:/var/task\:z -v /var/lib/jenkins/.cache/serverless-python-requirements/downloadCacheslspyc\:/var/useDownloadCache\:z lambci/lambda\:build-python37 /bin/sh -c 'chown -R 0\\:0 /var/useDownloadCache && python37 -m pip install -t /var/task/ -r /var/task/requirements.txt --cache-dir /var/useDownloadCache && chown -R 112\\:116 /var/task && chown -R 112\\:116 /var/useDownloadCache'...
Discussions

Serverless Lambda: Where is Dockerfile for lambci/lambda:build-python3.6 image? - Serverless Framework - Serverless Forums
Hello, I followed this tutorial: How to Handle your Python packaging in Lambda with Serverless plugins to set up a serverless lambda environment. Everything worked fine but now i’m trying to implement my own personal project. When I run serverless deploy, my output shown below: Question: ... More on forum.serverless.com
🌐 forum.serverless.com
0
June 7, 2018
amazon web services - how can i install python local project into lambci/lambda docker image? - Stack Overflow
i work with aws lambda and python 3.6. i would install a local project named "layerLambdaPython" in the docker image lambci/lambda:python3.6, that is the image fetched when i start to debug an aws ... More on stackoverflow.com
🌐 stackoverflow.com
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
When trying to run docker build command in windows 10 powershell: lambci/lambda: build-python3.7 -t rockar-data/lambda-layers . i get an error like the one below: lambci/lambda: : The term 'lambci/... More on stackoverflow.com
🌐 stackoverflow.com
Could not find lambci/lambda:build-nodejs6.10 image locally and failed to pull it from docker
Description Hi! I'm trying to build my dependencies using sam build --use-container. It was working on my project (nodejs8.10) however for some reason I am facing issues. Originally the lambci/... More on github.com
🌐 github.com
1
April 13, 2019
🌐
GitHub
github.com › lambci › lambci › issues › 138
Python 3.9 support · Issue #138 · lambci/lambci
September 5, 2021 - But upon using "serverless deploy" on a pipenv/ serverless package with Python3.9, I got to this error: Unable to find image 'lambci/lambda:build-python3.9'
Author   GordonSo
🌐
Serverless Forums
forum.serverless.com › serverless framework
Serverless Lambda: Where is Dockerfile for lambci/lambda:build-python3.6 image? - Serverless Framework - Serverless Forums
June 7, 2018 - Hello, I followed this tutorial: How to Handle your Python packaging in Lambda with Serverless plugins to set up a serverless lambda environment. Everything worked fine but now i’m trying to implement my own personal project. When I run serverless deploy, my output shown below: Question: ...
🌐
GitHub
github.com › serverless › serverless › discussions › 11792
Serverless deploy error with docker image · serverless/serverless · Discussion #11792
March 10, 2023 - Running docker run --rm -v /Users/pawreddy/Library/Caches/serverless-python-requirements/4de54344cbea6e69d798737ff8ab8b9b3bd2d640186abfcc7a8bb07a6b8b9564_x86_64_slspyc\:/var/task\:z -v /Users/pawreddy/Library/Caches/serverless-python-requirements/downloadCacheslspyc\:/var/useDownloadCache\:z -u 0 lambci/lambda\:build-python3.9 python3.9 -m pip install -t /var/task/ -r /var/task/requirements.txt --cache-dir /var/useDownloadCache...
Author   serverless
🌐
Tobywf
tobywf.com › 2018 › 11 › simple-python-lambda-packaging-guide
Simple Python Lambda Packaging Guide - tobywf
$ docker run --rm lambci/lambda:build-python3.6 python --version Unable to find image 'lambci/lambda:build-python3.6' locally build-python3.6: Pulling from lambci/lambda [...] Python 3.6.1
🌐
Stack Overflow
stackoverflow.com › questions › 57705475 › how-can-i-install-python-local-project-into-lambci-lambda-docker-image
amazon web services - how can i install python local project into lambci/lambda docker image? - Stack Overflow
i work with aws lambda and python 3.6. i would install a local project named "layerLambdaPython" in the docker image lambci/lambda:python3.6, that is the image fetched when i start to debug an aws ...
Find elsewhere
🌐
GitHub
github.com › aws › aws-sam-cli › issues › 1119
Could not find lambci/lambda:build-nodejs6.10 image locally and failed to pull it from docker · Issue #1119 · aws/aws-sam-cli
April 13, 2019 - ret as auth-only file 2019-04-12 20:32:12 Config entry for key stackOrchestrator is not auth config 2019-04-12 20:32:12 http://localhost:None "GET /v1.35/images/lambci/lambda:build-nodejs6.10/json HTTP/1.1" 404 107 2019-04-12 20:32:12 Looking for auth config 2019-04-12 20:32:12 No auth config in memory - loading from filesystem 2019-04-12 20:32:12 Trying paths: ['/Users/jacob/.docker/config.json', '/Users/jacob/.dockercfg'] 2019-04-12 20:32:12 Found file at path: /Users/jacob/.docker/config.json 2019-04-12 20:32:12 Couldn't find auth-related section ; attempting to interpret as auth-only file
Author   JacobSolomonUCF
🌐
GitHub
github.com › lambci › docker-lambda › issues › 272
New lambci:build-python3.7 image doesn't seem compatible with aws lambda us-west-2 · Issue #272 · lambci/docker-lambda
May 14, 2020 - For now I resorted back to an older copy I had of lambci:build-python3.7 I had pulled from 4 months ago and that is resolving my issue 100%.
Published   May 14, 2020
Author   bclodius
🌐
Medium
rajesh-r6r.medium.com › an-ultimate-guide-developing-lambda-functions-locally-for-aws-lambda-16d4a40d3ba4
An ultimate guide developing lambda functions locally for AWS Lambda | by Rajesh Rajamani | Medium
July 29, 2021 - #if you are proficient in Linux you can simply use the pwd to refer to the current working directorydocker run --rm -v "$PWD":/var/task:ro,delegated lambci/lambda:python3.8 lambda_function.lambda_handler#WINDOWS - Replace the <yourpathdocker run — rm -v “<yourpath>/lambcitesting”:/var/task:ro,delegated lambci/lambda:python3.8 lambda_function.lambda_handler
🌐
GitLab
forum.gitlab.com › gitlab ci/cd
Docker - Could not find python3 image locally and failed to pull it from docker - GitLab CI/CD - GitLab Forum
October 1, 2021 - Describe your question in as much detail as possible: In my AWS SAM build-and-package step, the docker container fails to pull an image of python3.9. This issue suddenly started happening, and was note occurring in prev…
🌐
Shawn Vause
shawn.vause.us › posts › python-local-to-lambda
Getting Python to AWS Lambda From Non-Linux Environments
December 3, 2021 - So how do we solve the previously described problem? Enter the lambci collection of docker images which includes the ​lambci/lambda:build-python3.8 for python version 3.8. This image includes all the necessary build tooling for installing python dependencies with pip.
🌐
GitHub
github.com › serverless › serverless-python-requirements › issues › 256
Error "chown: changing ownership of ‘/var/task’: Operation not permitted" when running on Bitbucket Pipelines · Issue #256 · serverless/serverless-python-requirements
October 1, 2018 - Serverless: Docker Image: lambci/lambda:build-python3.6 Error -------------------------------------------------- Unable to find image 'lambci/lambda:build-python3.6' locally build-python3.6: Pulling from lambci/lambda 5be106c3813f: Pulling fs layer e240967675e1: Pulling fs layer 34ad8da3dd72: Pulling fs layer 61ab74a11d97: Pulling fs layer 61ab74a11d97: Waiting e240967675e1: Verifying Checksum e240967675e1: Download complete 61ab74a11d97: Verifying Checksum 61ab74a11d97: Download complete 34ad8da3dd72: Verifying Checksum 34ad8da3dd72: Download complete 5be106c3813f: Verifying Checksum 5be106c3
Author   k-ogawa-1988
🌐
AWS re:Post
repost.aws › questions › QUhtzlifIdTniQQZn79FKb6A › ecr-image-docker-works-locally-but-the-provided-image-is-invalid-in-lambda
ECR Image Docker works locally but "The provided image is invalid" in Lambda | AWS re:Post
July 16, 2023 - The problem arises when I try to make a lambda function that uses that image. Both are us-west-2, I think I have all the IAM roles correct (I've done this before for another ECR/Lambda pair that uses tensorflow).
🌐
Romandc
romandc.com › zappa-django-guide › setup
Setup your Environment - Guide to using Django with Zappa
To make sure it points to your new image. Essentially replace lambci/lambda:build-python3.6 with myzappa.
🌐
GitHub
github.com › lambci › docker-lambda › issues › 343
Need support for python3.9 · Issue #343 · lambci/docker-lambda
August 20, 2021 - There was an error while loading. Please reload this page
Author   xncbf
🌐
GitHub
github.com › aws-samples › aws-lambda-layer-create-script
GitHub - aws-samples/aws-lambda-layer-create-script: Build Machine Learning Layers for Python Lambda functions with 10 lines of code
./createlayer.sh 3.6 Creating layer compatible with python version 3.6 Unable to find image 'lambci/lambda:build-python3.6' locally build-python3.6: Pulling from lambci/lambda d7ca5f5e6604: Pull complete 5e23dc432ea7: Pull complete fd755da454b3: Pull complete c81981d73e17: Pull complete Digest: sha256:059229f10b177349539cd14d4e148b45becf01070afbba8b3a8647a8bd57371e Status: Downloaded newer image for lambci/lambda:build-python3.6 Collecting scikit-learn Downloading scikit_learn-0.22.1-cp36-cp36m-manylinux1_x86_64.whl (7.0 MB) Collecting joblib>=0.11 Downloading joblib-0.14.1-py2.py3-none-any.wh
Starred by 14 users
Forked by 11 users
Languages   Python 97.5% | C 1.2% | Cython 1.1% | TeX 0.1% | Fortran 0.1% | MATLAB 0.0% | Python 97.5% | C 1.2% | Cython 1.1% | TeX 0.1% | Fortran 0.1% | MATLAB 0.0%
🌐
Docker Hub
hub.docker.com › r › lambci › lambda
lambci/lambda - Docker Image
The build images have a number of extra system packages installed⁠ intended for building and packaging your Lambda functions. You can run your build commands (eg, gradle on the java image), and then package up your function using zip or the AWS SAM CLI⁠, all from within the image. docker run [--rm] -v <code_dir>:/var/task [-v <layer_dir>:/opt] lambci/lambda:build-<runtime> <build-cmd> Copy