Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-18 Thread Danil Smirnov
And fixing the main problem with Python 3.4 path did not help to make "buildout" command successful. I've posted the error message as a comment of my bug report: https://bugs.launchpad.net/mailman/+bug/1445764 2015-04-18 15:21 GMT+03:00 Danil Smirnov : > 2015-04-18 3:52 GMT+03:00 Mark Sapiro : >>

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-18 Thread Danil Smirnov
2015-04-18 3:52 GMT+03:00 Mark Sapiro : > Please see this wiki page . It > addresses Ubuntu, not CentOS, but talks about prerequisite things > applicable to both although the apt-get package names may be different > for Yum. This does not help. The error is the sam

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Mark Sapiro
Please see this wiki page . It addresses Ubuntu, not CentOS, but talks about prerequisite things applicable to both although the apt-get package names may be different for Yum. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Mark Sapiro
On 04/17/2015 12:48 PM, Danil Smirnov wrote: > > Mark, I don't understand you: > # bzr pull > Using saved parent location: > http://bazaar.launchpad.net/~abompard/mailman-bundler/mailman-bundler/ > No revisions or tags to pull. OK, it seems your branch is up to date. I was only concerned because

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
2015-04-17 22:39 GMT+03:00 Mark Sapiro : > On April 17, 2015 12:20:48 PM PDT, Danil Smirnov wrote: >> >>I've got this branch TODAY so I think it's latest. >> >>So, does it mean that there is no way to install Mailman 3 using >>manual mentioned? > > > There have been at least 13 revs to that branch

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Mark Sapiro
On April 17, 2015 12:20:48 PM PDT, Danil Smirnov wrote: > >I've got this branch TODAY so I think it's latest. > >So, does it mean that there is no way to install Mailman 3 using >manual mentioned? There have been at least 13 revs to that branch since Monday. The README.rst in the branch is the

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
2015-04-17 22:00 GMT+03:00 Mark Sapiro : > pull' and remove the venv and venv-3.4 directories), and follow the > README.rst in the latest rev. I've checked the file and found that it offers the same installation instructions before my error stop than http://mailman-bundler.readthedocs.org/en/lates

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
2015-04-17 21:24 GMT+03:00 Danil Smirnov : > I wonder don't I need to do > > ln -s /usr/local/bin/python3.4 /usr/bin/python3.4 > > as the error says? I've created this symlink and that's what I've got now: (venv)[root@host mailman-bundler]# ln -s /usr/local/bin/python3.4 /usr/bin/python3.4 (venv)

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
2015-04-17 22:00 GMT+03:00 Mark Sapiro : > At this point, I suspect you haven't activated the venv that you had > active when you started. (Every time you start a new shell, you have to > activate the venv for that shell.) I am still on the same shell that when I started. My prompt looks like: (ve

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Mark Sapiro
On 04/17/2015 11:24 AM, Danil Smirnov wrote: > But I've got the same error again: > > Installing mailman. > The executable /usr/bin/python3.4 (from --python=/usr/bin/python3.4) > does not exist > /tmp/tmplM1FLA/run: line 2: > /usr/local/src/mailman-bundler/venv-3.4/bin/pip: Нет такого файла или >

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
2015-04-17 21:18 GMT+03:00 Mark Sapiro : > You only need > > ln -s /usr/local/bin/python3.4 /usr/local/bin/python3 > > You don't need to rename anything. Thanks Mark! I did this: # ls -l /usr/local/bin/ итого 68 -rwxr-xr-x 1 root root 101 apr 17 18:28 2to3-3.4 -rwxr-xr-x 1 root root 241 apr 1

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Mark Sapiro
On 04/17/2015 10:54 AM, Danil Smirnov wrote: > But > [root@host ~]# which python3.4 > /usr/local/bin/python3.4 > > > 2015-04-17 20:38 GMT+03:00 Danil Smirnov : > >> Have you meant >> [root@host ~]# which python3 >> /usr/bin/which: no python3 in >> (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/b

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
Tried export PATH=/usr/local/bin:$PATH, does not help - the error is same: 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: Нет такого файла или каталога While: Ins

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
Are you absolutely sure about renaming? As I understand I need both Python 2.7 which is /usr/bin/python and 3.4 which is /usr/local/bin/python3.4 for the Mailman installation. 2015-04-17 21:00 GMT+03:00 Pranjal Yadav : > Add the following to your ~/.bashrc file: > > export PATH=/usr/local/bin:$P

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Pranjal Yadav
Add the following to your ~/.bashrc file: export PATH=/usr/local/bin:$PATH Alternatively, you can simply rename /usr/bin/python to /usr/bin/python3.4 and create a symlink pointing to the new version, e.g. ln -s /usr/local/bin/python /usr/bin/python On Fri, Apr 17, 2015 at 11:24 PM, Danil Smirn

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
But [root@host ~]# which python3.4 /usr/local/bin/python3.4 2015-04-17 20:38 GMT+03:00 Danil Smirnov : > Have you meant > [root@host ~]# which python3 > /usr/bin/which: no python3 in > (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) > ? > > 2015-04-17 19:59 GMT+03:00 Pranjal Yadav

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
Have you meant [root@host ~]# which python3 /usr/bin/which: no python3 in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin) ? 2015-04-17 19:59 GMT+03:00 Pranjal Yadav : > Can you check with "where python3" and post the output. > > On Fri, Apr 17, 2015 at 9:34 PM, Danil Smirnov wrote:

Re: [Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Pranjal Yadav
Can you check with "where python3" and post the output. On Fri, Apr 17, 2015 at 9:34 PM, Danil Smirnov wrote: > I'm trying to install Mailman 3 using this manual: > http://mailman-bundler.readthedocs.org/en/latest/ > > After step > (venv)[root@host src]# pip install zc.buildout > (venv)[root@hos

[Mailman-Developers] wrong path to python 3.4 while installing mailman 3

2015-04-17 Thread Danil Smirnov
I'm trying to install Mailman 3 using this manual: http://mailman-bundler.readthedocs.org/en/latest/ After step (venv)[root@host src]# pip install zc.buildout (venv)[root@host src]# buildout I've got an error Installing mailman. The executable /usr/bin/python3.4 (from --python=/usr/bin/pytho