From ade728cb53ba3a435cc1c9e26a2000591a493129 Mon Sep 17 00:00:00 2001 From: Clement Tong <47275378+FalconBFR@users.noreply.github.com> Date: Thu, 8 Jul 2021 22:18:45 +0800 Subject: [PATCH] Update README.md OMG Thanks so much! It worked! This is a life saver. Just proposed a minor update to the readme to hopefully make it clear that it works with 3.7 and 3.8 too as some old stack overflow posts say it only works with 3.6. Please feel free to reject / rephrase this. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 30ab1fb..9f9be45 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ Just copy the psycopg2 directory into your AWS Lambda zip package. #### Python 3.6 Just copy the psycopg2-3.6 directory into your AWS Lambda project and rename it to psycopg2 before creating your AWS Lambda zip package. +This applies to Python 3.7 and 3.8 too with their respective builds. For example, if you are using it with virtualenv, delete psycopg2 from the venv/lib/python3.8/site-packages and place the psycopg2-3.8 in the same dir before renaming back to psycopg2. + ### Instructions on compiling this package from scratch Here was the process that was used to build this package. You will need to