Re: [Mailman-Developers] Error while setting up Mailman
On Mar 03, 2015, at 04:20 AM, Akash Agrawall wrote:
I am new to Mailman. I followed " http://wiki.list.org/DEV/A%205%20minute%20guide%20to%20get%20the%20Mailman%2... " to set-up Mailman. When I run the command "sudo python3.4 setup.py install" I get the error " http://pastebin.com/6N7Qq64S ".
You can ignore the SyntaxErrors. They're generated on scripts that haven't been ported to Python 3 because they're essentially obsolete. I should move them out of the main tree (I don't want to delete them yet).
I am behind proxy. Please help me with this.
That's you're real problem. You need to be able to access PyPI to download the dependencies, or make sure they are installed by your OS package manager. If you do the latter, you will have to tell virtualenv to use the system packages:
virtualenv --system-site-packages
when you create the venv- Uncomment the
sitepackages=True
line in the tox.ini
Cheers, -Barry
Hi Barry,
I fixed the issue by setting http_proxy and https_proxy as root. export http_proxy="http://<proxy>:<port number>" export https_proxy="https://<proxy>:<port number>"
The command "sudo python3.4 setup.py install" ran successfully.
But when I run the command "mailman start", it gives an error: " Starting Mailman's master runner /usr/bin/python3.4: can't find '__main__' module in '/usr/bin/master' "
I was able to set up "Mailman client", "Postorius" and also started the development server. After starting the server when I go to the link "http://127.0.0.1:8000" it gives me an error as shown in screenshot.
I don't how to proceed from this point.
Thank you, Akash Agrawall
On Tue, Mar 3, 2015 at 7:26 AM, Barry Warsaw <barry@list.org> wrote:
On Mar 03, 2015, at 04:20 AM, Akash Agrawall wrote:
I am new to Mailman. I followed "
http://wiki.list.org/DEV/A%205%20minute%20guide%20to%20get%20the%20Mailman%2...
" to set-up Mailman. When I run the command "sudo python3.4 setup.py install" I get the error " http://pastebin.com/6N7Qq64S ".
You can ignore the SyntaxErrors. They're generated on scripts that haven't been ported to Python 3 because they're essentially obsolete. I should move them out of the main tree (I don't want to delete them yet).
I am behind proxy. Please help me with this.
That's you're real problem. You need to be able to access PyPI to download the dependencies, or make sure they are installed by your OS package manager. If you do the latter, you will have to tell virtualenv to use the system packages:
virtualenv --system-site-packages
when you create the venv- Uncomment the
sitepackages=True
line in the tox.iniCheers, -Barry
Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/akash.agrawall094...
Security Policy: http://wiki.list.org/x/QIA9
participants (2)
-
Akash Agrawall
-
Barry Warsaw