26 Jan
2018
26 Jan
'18
10:18 a.m.
On Fri, Jan 26 2018, Peter Münster wrote:
ImportError: No module named settings
Ok, I've found the solution:
In wsgi.py:
import sys sys.path.append('/srv/www/htdocs/ckc3r/postorius/example_project')
But now, I get another error:
File "/usr/lib/python2.7/site-packages/postorius-1.1.2-py2.7.egg/postorius/views/rest.py", line 33, in <module> from django_mailman3.lib.scrub import Scrubber File "/usr/lib/python2.7/site-packages/django_mailman3-1.2.0a1-py2.7.egg/django_mailman3/lib/scrub.py", line 26, in <module> from email.message import EmailMessage ImportError: cannot import name EmailMessage
What should I do please?
TIA,
Peter