title: How can I troubleshoot Python "Could not find platform independent libraries <prefix>"
body: <p>I'm trying to use Fontcustom to create an icon font using svg files and fontforge. I'm on OSX.7. However, whenever I run the program I get the error</p>
  
  <pre><code>Could not find platform independent libraries &lt;prefix&gt;
  Could not find platform dependent libraries &lt;exec_prefix&gt;
  Consider setting $PYTHONHOME to &lt;prefix&gt;[:&lt;exec_prefix&gt;]
  ImportError: No module named site`
  </code></pre>
  
  <p>As a Python/Unix newbie I don't even know where to start trying to solve this. Can anyone offer any advice? What are <code>&lt;prefix&gt;</code> and <code>&lt;exec_prefix&gt;</code> referring to?</p>
  
  <p>When I type <code>python --version</code> I get <code>Python 2.7.1</code>. And in the directory /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7, there is a big list of modules, and site.py is definitely in that folder. How can I get my computer to find the modules?</p>