title: Python “pip install ” is failing with AttributeError: 'module' object has no attribute '_vendor'
body: <p>I'm attempting to install a package from a local directory, on Windows Server 2008. The package doesn't really matter I guess, but for arguments sake its Luigi.  I navigate to the directory and use the following command:</p>
  
  <pre><code>pip install setup.py
  </code></pre>
  
  <p>and the following error is returned:</p>
  
  <pre><code>'module' object has no attribute '_vendor'); 'pip' is a package and cannot be directly executed.
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/JxPE7.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JxPE7.jpg" alt="Full error image here"></a></p>
  
  <p>I've tried to reinstall pip, upgrade pip and install via easy_install and I'm just getting exactly the same error every time.  anyone else had this same error and can recommend a solution?</p>
  
  <p>I've tried;</p>
  
  <pre><code>python -m pip install --upgrade pip
  easy_install -U pip
  </code></pre>
  
  <p>I've also tried uninstalling pip but I just get the same error.</p>