Last active
August 29, 2015 14:11
-
-
Save makmanalp/a8d0f79abc8c94f3162f to your computer and use it in GitHub Desktop.
Ansible commands to bootstrap get-pip to work around ubuntu issue with missing ensurepip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - name: create a new venv | |
| shell: "pyvenv-3.4 --without-pip {{atlas_prefix}}/env/" | |
| - name: install pip from get-pip into env | |
| shell: ". {{atlas_prefix}}/env/bin/activate; curl https://bootstrap.pypa.io/get-pip.py | python3" |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can't use the
pipmodule to create the venv because the bug causes the virtualenv creation to fail because ensurepip is missing.