AWS Lambda控制台-升级Boto3版本 [英] AWS Lambda Console - Upgrade boto3 version

查看:144
本文介绍了AWS Lambda控制台-升级Boto3版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个DeepLens项目,以便在用相机扫描特定人群中的一个时识别人。

I am creating a DeepLens project to recognise people, when one of select group of people are scanned by the camera.

该项目使用lambda,该lambda处理图像并触发 识别 aws api。

The project uses a lambda, which processes the images and triggers the 'rekognition' aws api.


  • 当我从本地触发API时机器-我得到了很好的响应

  • When I trigger the API from my local machine - I get a good response

当我从AWS控制台触发API时-我得到了失败的响应

When I trigger the API from AWS console - I get failed response

问题

经过大量挖掘,我发现'boto3'( AWS python库)的版本为:

After much digging, I found that the 'boto3' (AWS python library) is of version:


  • 1.9.62-在我的本地计算机上

  • 1.9.62 - on my local machine

1.8.9-在AWS控制台上

1.8.9 - on AWS console

问题 >

我可以在AWS Lambda控制台上升级'boto3'库版本吗?如果是这样,怎么办?

Can I upgrade the 'boto3' library version on the AWS lambda console ?? If so, how ?

推荐答案

您可以使用具有依赖项的Python函数虚拟环境

这些是可用的选项,但您也可以尝试与Amazon团队联系,如果它们可以帮助您进行升级。

These are the available options other than that you also try to contact Amazon team if they can help you with up-gradation.

这篇关于AWS Lambda控制台-升级Boto3版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆