On 01/26/2018 11:18 AM, Peter Münster wrote:
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? You appear to be using a prerelease version of django-mailman3 which is not compatible with the other parts. Install an earlier version and it should work.
You also appeared to have used Python3 for the frontend in earlier posts. Currently Python3 is not yet supported. The next stable releases will most likely support Python3 and drop support for Python2