On Fri, Jan 26 2018, Simon Hanna wrote:
from email.message import EmailMessage
ImportError: cannot import name EmailMessage
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.
Hi,
I did not install it. I guess, it has been installed automatically by the command "pip2 install -r requirements.txt" or similar.
Anyway, with my patch (EmailMessage -> Message) it works.
I just needed to fiddle about some dependency issues. These commands were needed in the end: pip2 install djangorestframework==3.7.3 pip2 install cryptography==1.8.2 pip2 install pyOpenSSL==16.2.0
You also appeared to have used Python3 for the frontend in earlier posts.
Yes, first I tried it, but now I use Python2 for any Django related things (HyperKitty and Postorius).
Kind regards,
Peter