1👍
✅
You didn’t quite install postgres – you just installed psycopg2, which is a python client for postgres. You’ll need to install and run postgres like so:
apt-get install postgresql
/etc/init.d/postgresql start
(You will probably also need to log into it and create yourself a database for your project to talk to)
Source:stackexchange.com