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 Smirnov <da...@smirnov.la> wrote: > But > [root@host ~]# which python3.4 > /usr/local/bin/python3.4 > > > 2015-04-17 20:38 GMT+03:00 Danil Smirnov <da...@smirnov.la>: > > > 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 <godricg...@gmail.com>: > > > >> Can you check with "where python3" and post the output. > >> > >> On Fri, Apr 17, 2015 at 9:34 PM, Danil Smirnov <da...@smirnov.la> > 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@host src]# buildout > >>> > >>> I've got an error > >>> ---- > >>> Installing mailman. > >>> The executable /usr/bin/python3.4 (from --python=/usr/bin/python3.4) > does > >>> not exist > >>> /tmp/tmpuGe9kP/run: line 2: > >>> /usr/local/src/mailman-bundler/venv-3.4/bin/pip: File or directory not > >>> found > >>> While: > >>> Installing mailman. > >>> ---- > >>> > >>> I have Python 3.4. in /usr/local/bin directory, not /usr/bin. > >>> > >>> Please help. > >>> > >>> Danil > >>> _______________________________________________ > >>> Mailman-Developers mailing list > >>> Mailman-Developers@python.org > >>> https://mail.python.org/mailman/listinfo/mailman-developers > >>> Mailman FAQ: http://wiki.list.org/x/AgA3 > >>> Searchable Archives: > >>> http://www.mail-archive.com/mailman-developers%40python.org/ > >>> Unsubscribe: > >>> > https://mail.python.org/mailman/options/mailman-developers/godricglow%40gmail.com > >>> > >>> Security Policy: http://wiki.list.org/x/QIA9 > >>> > >> > >> > >> > >> -- > >> > >> *Pranjal Yadav* > >> > >> *IIT Kharagpur* > >> > > > > > _______________________________________________ > Mailman-Developers mailing list > Mailman-Developers@python.org > https://mail.python.org/mailman/listinfo/mailman-developers > Mailman FAQ: http://wiki.list.org/x/AgA3 > Searchable Archives: > http://www.mail-archive.com/mailman-developers%40python.org/ > Unsubscribe: > https://mail.python.org/mailman/options/mailman-developers/godricglow%40gmail.com > > Security Policy: http://wiki.list.org/x/QIA9 > -- *Pranjal Yadav* *IIT Kharagpur* _______________________________________________ Mailman-Developers mailing list Mailman-Developers@python.org https://mail.python.org/mailman/listinfo/mailman-developers Mailman FAQ: http://wiki.list.org/x/AgA3 Searchable Archives: http://www.mail-archive.com/mailman-developers%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-developers/archive%40jab.org Security Policy: http://wiki.list.org/x/QIA9