title: Recommended way to install Ansible modules from PyPI
body: <p>When creating new projects in Python, the recommended way to install dependencies from PyPI is to use <code>virtualenv</code> or <code>venv</code>, instead of installing the modules globally.</p>
  
  <p>I want to install the <a href="https://docs.ansible.com/ansible/github_release_module.html" rel="nofollow noreferrer">github_release module</a>, but it depends on <code>github3.py</code>, which is not available in the Ubuntu repositories.</p>
  
  <p>What is the recommended way to install Python modules for Ansible in the host? Should I just install them globally? I currently use Ansible from their official Ubuntu PPA.</p>