Python Installation

From SnOwy - Ed's Wiki Notebook

Jump to: navigation, search

Note to self-- I've mangled the default python installation a bit.

If an error occurs or something else weird happens-- here's why.

1) The default location for Python for everyone else using *nix at the UWiGEM crew seems to be:

/usr/bin/python

But I have python 2.3 binary there instead-- I don't know why I have more than one binary.

2) The default location for Python for me is:

/usr/local/bin/python

In order to have my default python work with scripts made for the team with the first line:

#!/usr/bin/python

I needed to make sure their default location is also my default location.

Here's what I did:

mv /usr/bin/python /usr/bin/_python_2_3_
ln /usr/local/bin/python /usr/bin/python

-- I made a backup of the original '*nix*' default python, and symbolically linked my system's default python.

This should be transparent and usable for all users--

If I ever have a problem upgrading or uninstalling or whatever-- this would be the cause.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox