Serverless-python-layers: No file matches include / exclude patterns

Your dependencies should be packaged properly. you should put the dependencies in a folder named python. See image reference below

here’s a yml example for nodejs
layers:
common:
path: ./
name: my-layer
retain: true
package:
exclude:
- "/*"
include:
- nodejs/

try this for python
layers:
common:
path: ./
name: my-layer
retain: true
package:
exclude:
- "/*"
include:
- python/


You don’t need to zip btw, just follow the file structure. More info here