Unable to import grequests for AWS Lambda

前端 未结 2 1850
日久生厌
日久生厌 2021-01-12 11:16

I\'m running an AWS Lambda script with a Python 2.7 runtime. However, whenever it initializes it begins to import the grequests library but fails b

2条回答
  •  情歌与酒
    2021-01-12 12:19

    I had to build gevent from src on an Amazon Linux instance. I put the resultant files in a zip if anyone needs them--just include them in your uploaded Lambda zip and you should be concurrent-ing like a boss.

    https://github.com/brandonmp/aws-lambda-grequests

提交回复
热议问题