title: Installing Ansible Python package on Windows
body: <p>I'm struggling to install Ansible Python package on my Windows 10 machine.</p>
  
  <p>I don't need Ansible to run on my machine, this is purely for development purpose on my Windows host. All commands will later be issued on a Linux machine.</p>
  
  <p>After running:</p>
  
  <pre><code>pip install ansible
  </code></pre>
  
  <p>I get the following exception:</p>
  
  <blockquote>
    <p>Command "c:\users\evaldas.buinauskas\appdata\local\programs\python\python37-32\python.exe -u -c "import setuptools, tokenize;__file__='C:\Users\evaldas.buinauskas\AppData\Local\Temp\pip-install-hpay_le9\ansible\setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:\Users\evaldas.buinauskas\AppData\Local\Temp\pip-record-dvfgngpp\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in C:\Users\evaldas.buinauskas\AppData\Local\Temp\pip-install-hpay_le9\ansible\</p>
  </blockquote>
  
  <p>Also there's a repetetive exception that I think is the root cause:</p>
  
  <blockquote>
    <p>error: can't copy 'lib\ansible\module_utils\ansible_release.py': doesn't exist or not a regular file</p>
  </blockquote>
  
  <p><a href="https://github.com/willthames/ansible-lint/issues/328" rel="noreferrer">This GitHub issue</a> says that installing should be possible, not running it. That's basically all I really need.</p>
  
  <p>I tried running CMD/PowerShell/Cygwin as Administrator, didn't help. </p>
  
  <p>Also, there's an answer that tells how to install it on Windows: <a href="https://stackoverflow.com/questions/48694085/how-to-overcome-pip-install-ansible-on-windows-failing-with-filename-or-extens">How to overcome - pip install ansible on windows failing with filename or extension too long on windows</a></p>
  
  <p>But I don't really understand how to get a wheel file for Ansible package.</p>