When I try to start django, this is what I get:
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python manage.py runserver 8000
Error: No module named psycopg2.extensions
Process finished with exit code 1
I found other questions with similar problems, but none on the Mac, and none of them help. I have no other errors and I installed psycopg2. Im working in PyCharm. This is my settings file (or at least its top).
ADMINS = (
)
MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': '---',
'USER': '---',
'PASSWORD': '---',
'HOST': 'www.-----.com',
'PORT': '',
}
}
source
share