I'm working on Fedora 21 and, don't ask me why, but I have two versions of Python 2.x installed on it. I can tell that I have two different versions because when I call it from the terminal with "python", I get:
Python 2.7.9 (default, Feb 18 2017, 17:18:34)
[GCC 4.9.2 20150212 (Red Hat 4.9.2-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I'd like to add that the version that I call with "python" is "/usr/local/bin/python". On the other hand, when I call it with "/usr/bin/python", I get:
Python 2.7.8 (default, Sep 24 2015, 18:25:44)
[GCC 4.9.2 20150212 (Red Hat 4.9.2-6)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
On top of that, they don't seem to have access to the same libraries/modules. For example, if I run a script using SciPy with "python" it raises an error, while that's not the case if I run it with "/usr/bin/python".
So, how do I get rid of the version running when I call it with "python" and keep the one that I call with "/usr/bin/python"? Moreover, I'd like to call the one that I'm curently calling with "/usr/bin/python" with a simple "python".