title: Why does IronPython tell me that pip is a package and not an executable?
body: <p>I am a complete newbie at Python.  I wanted to try to see if Pyomo (a Python package for mathematical modeling) could work under IronPython because all my code for generating the data needed for Pyomo is in C#.</p>
  
  <p>I installed IronPython 2.7.5, then tried as an administrator the advice found in <a href="http://blog.ironpython.net/2014/12/pip-in-ironpython-275.html#disqus_thread" rel="noreferrer">http://blog.ironpython.net/2014/12/pip-in-ironpython-275.html#disqus_thread</a> on how to run "pip" for IronPython.  I used the exact example they gave (installing <strong>html5lib</strong>):</p>
  
  <pre><code>ipy -X:Frames -m ensure pip
  ipy -X:Frames -m pip install html5lib
  </code></pre>
  
  <p>The first line worked, and I see in the Lib/site-packages directory a folder called <code>pip-6.1.1-py2.7.egg</code> with lots of python code in it.</p>
  
  <p>For the second line, I received the error:</p>
  
  <pre><code>Unhandled exception:
  Traceback (most recent call last):
    File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 170, in run_module
    File "C:\Program Files (x86)\IronPython 2.7\Lib\runpy.py", line 111, in _get_module_details
  ImportError: No module named urllib; 'pip' is a package and cannot be directly executed
  </code></pre>
  
  <p>At this point, I'm stuck.  Any help would be appreciated.</p>
  
  <p>Just in case this helps, printing out the <code>sys.version</code> gives:</p>
  
  <pre><code>2.7.5 (IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.34209 (32-bit))
  </code></pre>