
Hi, when I init uwsgi, I find a problem "importerror no module named django".
I install postorius following installation in http://postorius.readthedocs.io/en/latest/setup.html, and visit http://192.168.1.96:8001 it workes well after run: $ sudo python manage.py runserver 0.0.0.0:8001. Do not know what is about development in the page: http://postorius.readthedocs.io/en/latest/development.html, so I pass it. Then go to deployment in http://postorius.readthedocs.io/en/latest/deployment.html.
I creat file /home/lists/uwsgi.ini and put in it:
[uwsgi] chdir = /home/lists/postorius/sample_project #virtualenv = /srv/django/mailman/env #socket = /run/uwsgi/mailman.sock
wsgi-file = wsgi.py master = true process = 4 threads = 2 vacuum = true plugin = python2
uid = http gid = http
then run: $ uwsgi --ini /home/lists/uwsgi.ini
it gives the error "importerror, no module named django".
I think it is the problem of the below 2 line: #virtualenv = /srv/django/mailman/env #socket = /run/uwsgi/mailman.sock
but docs do not mention how to set about this 2 line, so I just comment out the 2 line.
I also tried with mailman-suite, also have the same problem.
can you help with me? will you think to write a installing instruction with command to follow for people totally don't know django in future?
Thank you.

Do not know what is about development in the page: http://postorius.readthedocs.io/en/latest/development.html, so I pass it. Do you want to setup for development? If yes, the guide should be more
On 12/17/2017 10:59 AM, 孙志勇 wrote: that. You need to have core on your system for postorius to actually do anything... than enough to tell you what needs to be done. If you follow the link to https://wiki.list.org/DEV/HowToContributeGit you should be able to do that. packages, if they are installes using your package manager and the application is too. Otherwise you will run into incompatibilties sooner or later.

Do not know what is about development in the page: http://postorius.readthedocs.io/en/latest/development.html, so I pass it. Do you want to setup for development? If yes, the guide should be more
On 12/17/2017 10:59 AM, 孙志勇 wrote: that. You need to have core on your system for postorius to actually do anything... than enough to tell you what needs to be done. If you follow the link to https://wiki.list.org/DEV/HowToContributeGit you should be able to do that. packages, if they are installes using your package manager and the application is too. Otherwise you will run into incompatibilties sooner or later.
participants (2)
-
Simon Hanna
-
孙志勇