I had Python 2.7.6 installed on my system at /usr/bin/python2.7
. Now I have downloaded, built, and installed Python 2.7.14 as root. The location was different: /usr/local/bin/python2.7
.
I changed to /usr/bin/python
symlink to the later one. But now I have all other packages missing like mercurial, cx-oracle, easy_install, pip, etc.
If I try to install those, it says they are already installed which is true as if I revert python symlink to python2.7.6
, everything works again.
How do I install all those packages to Python 2.7.14?
$ sudo python -V
Python 2.7.14
$ sudo which python
/usr/local/bin/python
$ python -V
Python 2.7.6
$ which python
/usr/bin/python