I have a python library which needs 2.7.10 version for it to function. But, When I download the python binaries and install, it is being installed in the /usr/local/bin folder. When I run the python executable in the local/bin folder, it doesn't have the set of libraries which I installed previously. After some debugging found out that the libraries were installed in the /usr/bin folder.
Is there a way to upgrade the python associated with /usr/bin folder?