Run pip in python idle
<p>I am curious about running pip.
Everytime I ran pip in command shell in windows like that</p>

<pre><code>c:\python27\script&gt;pip install numpy
</code></pre>

<p>But, I wondered if I can run it in python idle.</p>

<pre><code>import pip
pip.install("numpy")
</code></pre>

<p>Unfortunately, it is not working.</p>