I was trying to set up a python lambda, and fell at the first hurdle:

I was using psycopg2-binary
, and the zip file structure looked right. Eventually, I found a SO answer suggesting it could be arch related, at which point I realised that I had pip install
ed using docker, rather than venv.
I have no idea why that mattered (uname
showed the same arch from python:3.7
as my laptop), but onwards to the next problem! 🤷