"The executable /usr/bin/python3.4 does not exist" error when Installing Mailman 3 on Centos 7
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Short summary: when installing Mailman 3 onto new Centos 7 box using manual at page
http://
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=
/tmp/tmpePyrQ3/run: line 2: /usr/local/
While:
Installing mailman.
---
Now in details:
Fresh new CentOS Linux release 7.1.1503 (Core) installed as kvm guest.
System python package installed: python-
Python 3.4.3 was installed by commands:
[root@host ~]# cd /usr/local/src
[root@host src]# curl -O https:/
[root@host src]# tar -xvzf Python-3.4.3.tgz
[root@host src]# cd /usr/local/
[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-
with dependant python-devel.x86_64 0:2.7.5-16.el7
Then everything was don according
http://
until the error mentioned above occurred.
When I did
(venv)[root@host mailman-bundler]# ln -s /usr/local/
I've got another error:
---
(venv)[root@host mailman-bundler]# buildout
Develop: '/usr/local/
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/
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/
Also creating executable in /usr/local/
Failed to import the site module
Traceback (most recent call last):
File "/usr/local/
import os
File "/usr/local/
from _collections_abc import MutableMapping
ImportError: No module named '_collections_abc'
ERROR: The executable /usr/local/
ERROR: It thinks sys.prefix is '/usr/local/
ERROR: virtualenv is not compatible with this system or executable
/tmp/tmpTl6JgC/run: line 2: /usr/local/
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/
getattr(
File "/usr/local/
installed_files = self[part]
File "/usr/local/
return f()
File "/usr/local/
self.execute()
File "/usr/local/
run_
File "/usr/local/
check_call('%s %s' % (shell, tmpfile), shell=True)
File "/usr/lib64/
raise CalledProcessEr
CalledProcessError: Command 'sh /tmp/tmpTl6JgC/run' returned non-zero exit status 127
---
summary: |
- "The executable /usr/bin/python3.4 does not exist" error when - Installling Mailman 3 on Centos 7 + "The executable /usr/bin/python3.4 does not exist" error when Installing + Mailman 3 on Centos 7 |
Changed in mailman: | |
status: | New → Fix Committed |
Oh yeah sorry, the path to python3.4 was hardcoded. I fixed this an hour ago, sorry for not replying earlier but I was on a plane from PyCon.
Please update your mailman-bundler branch.