title: Python error in serverless framework stating - Serverless Error: spawn docker ENOENT
body: <p>Error:</p>
  <pre><code>Running &quot;serverless&quot; from node_modules
  
  Deploying serverless-flask to stage dev (us-east-1)
  
  ✖ Stack serverless-flask-dev failed to deploy (0s)
  Environment: darwin, node 16.0.0, framework 3.1.1 (local) 3.1.1v (global), plugin 6.0.0, SDK 4.3.1
  Credentials: Local, &quot;default&quot; profile
  Docs:        docs.serverless.com
  Support:     forum.serverless.com
  Bugs:        github.com/serverless/serverless/issues
  
  Error:
  Error: spawn docker ENOENT
      at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
      at onErrorNT (node:internal/child_process:480:16)
      at processTicksAndRejections (node:internal/process/task_queues:83:21)
  </code></pre>
  <p>I'm following these instructions (<a href="https://www.serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb/" rel="nofollow noreferrer">https://www.serverless.com/blog/flask-python-rest-api-serverless-lambda-dynamodb/</a>) and can't seem to figure this out since the base app is in python and not javascript... most people who have solved this solved it using javascript.</p>