Skip to content Skip to sidebar Skip to footer

Serverless: Python3.7 Not Found! Try The PythonBin Option

I'm trying to develop a simple serverless app using Serverless framework and Python. Here's my serverless.yml service: hello-world provider: name: aws region: us-west-2 run

Solution 1:

Add the following in the custom section:

  pythonRequirements:
    pythonBin: python3

Like this:

custom:

...

  pythonRequirements:
    pythonBin: python3

...

Solution 2:

AWS (Elastic Beanstalk) didn't yet include python3.7 (31/08/2019), try to downgrade your python version to 3.6 and try again.


Post a Comment for "Serverless: Python3.7 Not Found! Try The PythonBin Option"