Recently I installed Mac OS Yosemite. Until then I had no problem in installing libraries and have already installed beautiful soup, pydelicious, etc. After the installation of Yosemite, I tried to install Mechanize and Requests Libraries in mac. There was no problem in their installation. I could import them and use them from the Terminal. However, Xcode 6.1 doesn't load them/seeing them. I consistently get the

ImportError: No module named mechanize
ImportError: No module named requests
error messages.

I have already tried changing the file permissions with full access to the user but to no avail.
I also checked PYTHONPATH and .profile files, so far no luck.
I wonder, if any has encountered this problem or if any one know of some fix to this problem?
Apparently Xcode was referring to my default of Python. 
After the comment from Droppy, I checked my python version by using 

which python

I copy pasted the result in the Xcode Program scheme. Now it works...!
Thanks for all the help.
ImportError: No module named mechanize - XCode 6.1 is not seeing newly installed python libraries