python command running old version
Aahz
aahz at pythoncraft.com
Sat Jul 18 19:18:22 EDT 2009
In article <mailman.3369.1247937914.8015.python-list at python.org>,
Tim Edwards <timphotoman at gmail.com> wrote:
>
>I upgraded python this morning and entering python from the command
>line runs the old version.
>
>Just looked and it appears the old version is in /usr/bin while the
>new one is in /usr/local/bin/
>
>Besides changing the path order, how do I ensure it runs the new
>version? I'm sure I'll bang my head on the desk in shame as soon as
>I'm reminded.
You probably want to create an alias for command-line usage; scripts
should use the full path to the interpreter you want.
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"The volume of a pizza of thickness 'a' and radius 'z' is
given by pi*z*z*a"
More information about the Python-list
mailing list