pip3 install -r requirements.txt
때문에 미춰버리겠다. pip install psycopg2-binary==2.8.3
를 사용해서 해결. psycopg2 vs psycopg2-binary
Because we're only just starting (and I'm assuming most students are fairly new to software development and programming), you should use psycopg2-binary only[1]. Don't install psycopg2 at all, and certainly don't install both packages.
That's because when you install psycopg2-binary, it will just work.
To install psycopg2 there are a bunch of prerequisites[2] that you probably won't have already installed. In addition, you'll have to find some files and programs in your computer that can be quite difficult to find!
As you learn more and more and because a proficient (maybe professional) software developer, you will want to use psycopg2 instead of psycopg2-binary. That's because when you're doing some really advanced stuff, there can be some problems with psycopg2-binary[3][4].
Please don't use psycopg2 at the moment unless you're really confident you know how to install it.