title: AttributeError: Module Pip has no attribute 'main'
body: <p>I am trying to build the python api for an open source project called Zulip and I keep running into the same issue as indicated by the screenshot below.</p>
  
  <p>I am running python3 and my pip version is 10.0.0. The file in question is <code>setup.py</code> and the code that is messing up is when the <code>pip.main()</code> attribute is accessed to install a package.</p>
  
  <p>Now, I know this build should succeed because its an open source project, but I have been trying for hours to fix the dependency issue regarding <code>pip.main()</code>.</p>
  
  <p>Any help would be greatly appreciated. </p>
  
  <p><a href="https://i.stack.imgur.com/blM4l.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/blM4l.jpg" alt="enter image description here"></a></p>