_multiprocessing.SemLock is not implemented when running on AWS Lambda

前端 未结 5 1747
Happy的楠姐
Happy的楠姐 2020-12-13 19:59

I have a short code that uses the multiprocessing package and works fine on my local machine.

When I uploaded to AWS Lambda and run there,

5条回答
  •  暖寄归人
    2020-12-13 20:25

    You can upgrade and use AWS Lambda runtimes Python 3.7. Works for me!

    AWS Lambda supports multiple languages through the use of runtimes. You choose a runtime when you create a function, and you can change runtimes by updating your function's configuration. The underlying execution environment provides additional libraries and environment variables that you can access from your function code.

提交回复
热议问题