title: How to make Anaconda python work in Emacs on Windows
body: <p>So I installed Anaconda on my Windows 7 computer. Now how to get it up and running in Emacs? I tried calling <code>M-x run-python</code>. I get the wonderful error message:</p>
  
  <blockquote>
    <p>apply: Spawning child process: invalid argument</p>
  </blockquote>
  
  <p>My python executable is on the path. I tried changing the variable <code>python-shell-interpreter</code> was looking for in case <code>"python"</code> needed to be <code>"python.exe"</code>. That had no effect. So what gives? What's the magic sauce for getting them talking?</p>
  
  <p>I placed these lines of code in my .emacs but still get the same error above.</p>
  
  <pre><code>(setq python-shell-interpreter "C:/Users/My User/Anaconda/python.exe")
  (setq python-shell-virtualenv-path "C:/Users/My User/Anaconda/")
  </code></pre>