Install mailman-2.1.z with python3.6
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
I need to install Mailman2.1 using python3.x, but I have had some problem.
On my Ubuntu-18.04 server, I have both python2.7 and python3.6. Now, everything is all fine with python2.7, but when I use python3.6, it bombs out:
root@lists:/home/wash/Mailman/2.1.29/mailman-2.1.29# ./configure --with-cgi-gid=33 --with-mail-gid=117 --with-python=/usr/bin/python3.6 checking for --with-python... /usr/bin/python3.6 checking Python interpreter... /usr/bin/python3.6 checking Python version... 3.6.7 checking dnspython... ok checking Python's email package... Traceback (most recent call last): File "conftest.py", line 8, in <module> version = tuple(int(v) for v in email.__version__.split('.')) AttributeError: module 'email' has no attribute '__version__' cat: conftest.out: No such file or directory
checking Japanese codecs... Traceback (most recent call last): File "conftest.py", line 2, in <module> unicode('OK', 'iso-2022-jp') NameError: name 'unicode' is not defined cat: conftest.out: No such file or directory
checking Korean codecs... Traceback (most recent call last): File "conftest.py", line 2, in <module> unicode('OK', 'euc-kr') NameError: name 'unicode' is not defined cat: conftest.out: No such file or directory
checking that Python has a working distutils... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether make sets $(MAKE)... yes checking for true... /bin/true checking for --without-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether #! works in shell scripts... yes checking for --with-var-prefix... no checking for --with-permcheck... yes checking for --with-username... mailman checking for user name "mailman"... okay checking for --with-groupname... mailman checking for group name "mailman"... okay checking permissions on /usr/local/mailman... File "conftest.py", line 17 if mailmangid <> gid: ^ SyntaxError: invalid syntax cat: conftest.out: No such file or directory configure: error: ***** Installation directory /usr/local/mailman is not configured properly!
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
![](https://secure.gravatar.com/avatar/56f108518d7ee2544412cc80978e3182.jpg?s=120&d=mm&r=g)
On 1/7/19 1:22 AM, Odhiambo Washington wrote:
I need to install Mailman2.1 using python3.x, but I have had some problem.
On my Ubuntu-18.04 server, I have both python2.7 and python3.6. Now, everything is all fine with python2.7, but when I use python3.6, it bombs out:
Which is expected because Mailman 2.1 does not support Python 3 and never will.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
![](https://secure.gravatar.com/avatar/0fbcef57d028af495d8c9a5992405f78.jpg?s=120&d=mm&r=g)
On Mon, 7 Jan 2019 at 20:37, Mark Sapiro <mark@msapiro.net> wrote:
I need to install Mailman2.1 using python3.x, but I have had some
On 1/7/19 1:22 AM, Odhiambo Washington wrote: problem.
On my Ubuntu-18.04 server, I have both python2.7 and python3.6. Now, everything is all fine with python2.7, but when I use python3.6, it bombs out:
Which is expected because Mailman 2.1 does not support Python 3 and never will.
Noted! I thought I could eliminate python2 from my server :)
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", grep ^[^#] :-)
![](https://secure.gravatar.com/avatar/6602daa2b3882093e90450d82b239860.jpg?s=120&d=mm&r=g)
On 1/7/19 4:19 PM, Odhiambo Washington wrote:
On Mon, 7 Jan 2019 at 20:37, Mark Sapiro <mark@msapiro.net> wrote:
Which is expected because Mailman 2.1 does not support Python 3 and never will.
Noted! I thought I could eliminate python2 from my server :)
Not yet, unfortunately.
-- Phil Stracchino Babylon Communications phils@caerllewys.net phil@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958
participants (3)
-
Mark Sapiro
-
Odhiambo Washington
-
Phil Stracchino