Comment 22 for bug 1445764

Revision history for this message
ruben (rroopstr) wrote : Re: [Bug 1445764] Re: "The executable /usr/bin/python3.4 does not exist" error when Installing Mailman 3 on Centos 7

thank you Mark

Rubén Rivero Capriles
http://www.rubenrivero.net (blog global - español)
http://www.rroopstr.com (global blog - English)
http://www.riverocooper.com (art & mining)

2016-05-26 16:16 GMT-04:00 Mark Sapiro <email address hidden>:

> Apparently mailman-bundler is not (yet) compatible with Python 3.5.
>
> This is no longer the appropriate place for any mailman3 related issues.
> Please resubmit this issue at <https://gitlab.com/mailman/mailman-
> bundler/issues>.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1445764
>
> Title:
> "The executable /usr/bin/python3.4 does not exist" error when
> Installing Mailman 3 on Centos 7
>
> Status in GNU Mailman:
> Fix Committed
>
> Bug description:
> Short summary: when installing Mailman 3 onto new Centos 7 box using
> manual at page
> http://mailman-bundler.readthedocs.org/en/latest/
>
> after step
>
> (venv)[root@host mailman-bundler]# pip install zc.buildout
> (venv)[root@host mailman-bundler]# buildout
>
> getting the error:
>
> ---
> Installing mailman.
> The executable /usr/bin/python3.4 (from --python=/usr/bin/python3.4)
> does not exist
> /tmp/tmpePyrQ3/run: line 2:
> /usr/local/src/mailman-bundler/venv-3.4/bin/pip: No such file or directory
> While:
> Installing mailman.
> ---
>
> Now in details:
>
> Fresh new CentOS Linux release 7.1.1503 (Core) installed as kvm guest.
>
> System python package installed: python-2.7.5-16.el7.x86_64
>
> Python 3.4.3 was installed by commands:
>
> [root@host ~]# cd /usr/local/src
> [root@host src]# curl -O
> https://www.python.org/ftp/python/3.4.3/Python-3.4.3.tgz
> [root@host src]# tar -xvzf Python-3.4.3.tgz
> [root@host src]# cd /usr/local/src/Python-3.4.3
> [root@host Python-3.4.3]# ./configure --enable-shared
> --prefix=/usr/local LDFLAGS="-Wl,-rpath /usr/local/lib"
> [root@host Python-3.4.3]# make
> [root@host Python-3.4.3]# make altinstall
>
> Virtualenv was installed from package
> python-virtualenv.noarch 0:1.10.1-2.el7
> with dependant python-devel.x86_64 0:2.7.5-16.el7
>
> Then everything was don according
> http://mailman-bundler.readthedocs.org/en/latest/
> until the error mentioned above occurred.
>
> When I did
> (venv)[root@host mailman-bundler]# ln -s /usr/local/bin/python3.4
> /usr/bin/python3.4
>
> I've got another error:
> ---
> (venv)[root@host mailman-bundler]# buildout
> Develop: '/usr/local/src/mailman-bundler/.'
> warning: no files found matching '*.in' under directory 'mailman_bundler'
> warning: no files found matching '*.in' under directory 'deployment'
> warning: no files found matching 'deployment/mailman-web.logrotate.conf'
> Updating mailman-web.
> Updating main.
> Installing mailman.
> Running virtualenv with interpreter /usr/bin/python3.4
> Using base prefix '/usr/local'
> New python executable in
> /usr/local/src/mailman-bundler/venv-3.4/bin/python3.4
> Also creating executable in
> /usr/local/src/mailman-bundler/venv-3.4/bin/python
> Failed to import the site module
> Traceback (most recent call last):
> File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/site.py",
> line 67, in <module>
> import os
> File "/usr/local/src/mailman-bundler/venv-3.4/lib/python3.4/os.py",
> line 616, in <module>
> from _collections_abc import MutableMapping
> ImportError: No module named '_collections_abc'
> ERROR: The executable
> /usr/local/src/mailman-bundler/venv-3.4/bin/python3.4 is not functioning
> ERROR: It thinks sys.prefix is '/usr/local/src/mailman-bundler' (should
> be '/usr/local/src/mailman-bundler/venv-3.4')
> ERROR: virtualenv is not compatible with this system or executable
> /tmp/tmpTl6JgC/run: line 2:
> /usr/local/src/mailman-bundler/venv-3.4/bin/pip: No such file or directory
> While:
> Installing mailman.
>
> An internal error occurred due to a bug in either zc.buildout or in a
> recipe being used:
> Traceback (most recent call last):
> File
> "/usr/local/src/venv/lib/python2.7/site-packages/zc/buildout/buildout.py",
> line 1946, in main
> getattr(buildout, command)(args)
> File
> "/usr/local/src/venv/lib/python2.7/site-packages/zc/buildout/buildout.py",
> line 626, in install
> installed_files = self[part]._call(recipe.install)
> File
> "/usr/local/src/venv/lib/python2.7/site-packages/zc/buildout/buildout.py",
> line 1370, in _call
> return f()
> File
> "/usr/local/src/mailman-bundler/eggs/collective.recipe.cmd-0.10-py2.7.egg/collective/recipe/cmd/__init__.py",
> line 56, in install
> self.execute()
> File
> "/usr/local/src/mailman-bundler/eggs/collective.recipe.cmd-0.10-py2.7.egg/collective/recipe/cmd/__init__.py",
> line 69, in execute
> run_commands(cmds, self.shell)
> File
> "/usr/local/src/mailman-bundler/eggs/collective.recipe.cmd-0.10-py2.7.egg/collective/recipe/cmd/__init__.py",
> line 39, in run_commands
> check_call('%s %s' % (shell, tmpfile), shell=True)
> File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
> raise CalledProcessError(retcode, cmd)
> CalledProcessError: Command 'sh /tmp/tmpTl6JgC/run' returned non-zero
> exit status 127
> ---
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mailman/+bug/1445764/+subscriptions
>