Egg_info error when installing rpy2 windows 10
<p>I want to install <code>rpy2</code> and next install <code>anaconda</code> with <code>spyder</code> to use python. </p>

<p>I tried this command</p>

<pre><code>py -m pip install rpy2
</code></pre>

<p>but it gave me this error</p>

<pre><code>Command "python setup.py egg_info" failed with error code 1 in C:\Users\Robert\AppData\Local\Temp\pip-build-o27u4aog\rpy2\
</code></pre>

<p>I tried to install <code>unroll</code> as well with similar pip command and it gave me similar error   </p>

<pre><code>Command "python setup.py egg_info" failed with error code 1 in C:\Users\Robert\AppData\Local\Temp\pip-build-nyfqo09i\uroll\
</code></pre>

<p>Like suggested for example <a href="http://stackoverflow.com/questions/17886647/cant-install-via-pip-because-of-egg-info-error">here</a> I succesfully did</p>

<pre><code>py -m pip install --upgrade setuptools
</code></pre>

<p>and</p>

<pre><code>py -m pip install ez_setup
</code></pre>

<p>but nothing helped. I had to unistall <code>anaconda</code> to <code>--upgrade setuptools</code> looking foward to install <code>rpy2</code> but now I dont know what to do more.</p>

<p>I am using windows 10, <code>R 3.2.5</code> and <code>python 3.5.</code></p>

<p>Any suggestions?</p>

<p>Use precompiled binaries.</p>

<p>See: <a href="http://rpy2.readthedocs.io/en/default/overview.html#microsoft-s-windows-precompiled-binaries" rel="nofollow">http://rpy2.readthedocs.io/en/default/overview.html#microsoft-s-windows-precompiled-binaries</a></p>

<p>The main page for rpy2 will be updated to indicate that <code>pip install</code> is not the easiest way to install rpy2 on Windows. </p>

python rpy2