title: Pip Install Theano Error Code 255
body: <p>I am trying to install Theano on my Windows 10 system with Python 2.7.9, 64-bit through <code>pip install theano</code>. But I am getting a crash every time with this message:</p>
  
  <blockquote>
    <p>Command "python setup.py egg_info" failed with error code 255 in
    c:\users\sunny\appdata\local\temp\pip-build-lwmpfg\theano\</p>
  </blockquote>
  
  <p>And then a window says <code>python.exe has stopped working</code>.</p>
  
  <p>What is wrong with my system and how to install Theano on a Windows system? Please see Edit 2 too!</p>
  
  <p>Edit: This is the complete terminal instance</p>
  
  <pre><code>C:\Users\sunny&gt;pip install theano
  Collecting theano
    Using cached Theano-0.8.2.tar.gz
      Complete output from command python setup.py egg_info:
      running egg_info
      creating pip-egg-info\Theano.egg-info
      writing requirements to pip-egg-info\Theano.egg-info\requires.txt
      writing pip-egg-info\Theano.egg-info\PKG-INFO
      writing top-level names to pip-egg-info\Theano.egg-info\top_level.txt
      writing dependency_links to pip-egg-info\Theano.egg-info\dependency_links.txt
      writing manifest file 'pip-egg-info\Theano.egg-info\SOURCES.txt'
      warning: manifest_maker: standard file '-c' not found
  
      reading manifest file 'pip-egg-info\Theano.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: manifest_maker: MANIFEST.in, line 9: 'recursive-include' expects &lt;dir&gt; &lt;pattern1&gt; &lt;pattern2&gt; ...
  
      writing manifest file 'pip-egg-info\Theano.egg-info\SOURCES.txt'
  
      ----------------------------------------
  Command "python setup.py egg_info" failed with error code 255 in c:\users\sunny\appdata\local\temp\pip-build-dwordf\theano\
  
  C:\Users\sunny&gt;
  </code></pre>
  
  <p>Edit 2: It seems like <code>pip install</code> command itself is problematic, since using it gives <code>python.exe has stopped working</code> irrespective of the package</p>
  
  <pre><code>C:\Users\sunny&gt;pip install django
  Requirement already satisfied (use --upgrade to upgrade): django in c:\users\sunny\appdata\local\enthought\canopy\user\lib\site-packages
  
  C:\Users\sunny&gt;
  </code></pre>