title: "No module named site" when embedding python in c++ in Visual studio
body: <p>there are similar questions on StackOverflow, but I couldnt find any helpful.
  I am embedding python in c++ in visual studio. My python is in anaconda, and the directory for anaconda is c:/anaconda2, my code is very simple</p>
  
  <pre><code>#include &lt;Python.h&gt;
  int main()
  {
    Py_initialize();
  }
  </code></pre>
  
  <p>I am so surprised even this simple code generates the error</p>
  
  <blockquote>
    <p>ImportError: No module named site</p>
  </blockquote>
  
  <p>And I have set <code>PYTHONHOME=c:\Anaconda2\python27</code>, <code>PYTHONPATH=c"\Anaconda2\libs</code>, and appended <code>PYTHONHOME</code> and <code>PYTHONPATH</code> to system variable <code>path</code>. I also put <code>C:\Anaconda2\libs\python27</code> into <code>Library Directories</code> in the property sheets. But I still getting this <code>ImportError</code>, can anyone please help?</p>