I ran into this problem a few months ago and came across this issue, which reminded me that you have to create the venv inside the functions folder. I was creating the venv at the root of my project, and so even though I was able to activate it and install the deps, firebase does not see any of them when you try and deploy.