4👍
✅
psycopg2
is not installed in your env.
Make sure you use correct virtualenv (if use), and install psycopg2.
tye pip install psycopg2
. (if using pip3
, use pip3 install psycopg2
).
ps. If you’re in ubuntu, install other dependencies
sudo apt-get install build-dep python-psycopg2
- [Django]-Django google maps
- [Django]-Mod_wsgi (3.4-14) / Apache 2.4.12 / Red Hat (6.7) / Django 1.8.2 hanging under load
- [Django]-How to config apache to run Django (mod_WSGI) and Rails (Passenger)
- [Django]-Django can't syncdb after drop/create database
- [Django]-Django – Alternatives To File Browser that Work Well With S3
Source:stackexchange.com