diff --git a/library/packaging/pip b/library/packaging/pip index 2b03a73207..7f293c5c02 100644 --- a/library/packaging/pip +++ b/library/packaging/pip @@ -247,7 +247,7 @@ def main(): if module.params['virtualenv_site_packages']: cmd = '%s --system-site-packages %s' % (virtualenv, env) else: - cmd = '%s %s' % (virtualenv, env) + cmd = '%s --no-site-packages %s' % (virtualenv, env) os.chdir(tempfile.gettempdir()) if chdir: os.chdir(chdir)