title: Python installation in Mac OS X virtual environment that includes a framework that I can include into Xcode?
body: <p>I like to use Python with numpy, scipy and some other packages. I am an absolute Python beginner and have some issues with the installation under Mac OS X.</p>
  
  <p>I am following these two tutorials to install python: <a href="http://hackercodex.com/guide/mac-osx-mountain-lion-10.8-configuration/" rel="noreferrer">1</a> and <a href="http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/" rel="noreferrer">2</a>.  </p>
  
  <p>Here, HomeBrew is used to install Python (with pip) and virtualenv. I do not have an opinion about what is better, MacPorts, HomeBrew, Fink... I just found this tutorial inspiring confidence.  </p>
  
  <p>If I understand things correctly, OS X system Python, which I should never touch, is under /System/Library/Frameworks/Python.Framework. And I cannot use this one in Xcode because it does not have my wanted packages. The HomeBrew Python will be installed somewhere in /usr/local/. I found a framework there but as the system framework it does not have the additional packages. The tutorial explains that it might be better to install additional packages in virtual environments only which is done via pip. But I cannot find a framework there.  </p>
  
  <p>So my question is: How can I get a Python installation in a virtual environment that includes a framework that I can include into Xcode?</p>