AttributeError: 'tuple' object has no attribute 'is_prerelease'
I'm trying to install mailman 3 on a debian 7.8 (wheezy) with Python 2.7.3
I'm doing the followinfg sequence :
git clone https://gitlab.com/mailman/mailman-bundler.git
cd mailman-bundler
virtualenv venv
source venv/bin/activate
pip install zc.buildout
buildout
And getting the following error:
AttributeError: 'tuple' object has no attribute 'is_prerelease'
I tried to fix this by running :
pip install setuptools --upgrade
But then I get :
Traceback (most recent call last):
File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1994, in main
getattr(buildout, command)(args)
File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 668, in install
installed_files = self[part]._call(recipe.install)
File "/home/damien/dev/mailman-bundler/venv/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1409, in _call
return f()
File "/home/damien/dev/mailman-bundler/eggs/collective.recipe.cmd-0.11-py2.7.egg/collective/recipe/cmd/__init__.py", line 56, in install
self.execute()
File "/home/damien/dev/mailman-bundler/eggs/collective.recipe.cmd-0.11-py2.7.egg/collective/recipe/cmd/__init__.py", line 69, in execute
run_commands(cmds, self.shell)
File "/home/damien/dev/mailman-bundler/eggs/collective.recipe.cmd-0.11-py2.7.egg/collective/recipe/cmd/__init__.py", line 39, in run_commands
check_call('%s %s' % (shell, tmpfile), shell=True)
File "/usr/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command 'sh /tmp/tmp5Ouy5o/run' returned non-zero exit status 127