Last active
February 1, 2017 11:37
-
-
Save fabianvf/317b7e7860bcdc754740 to your computer and use it in GitHub Desktop.
ansible pip install lxml
This file contains 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: Install lxml requirements | |
apt: "pkg={{ item }} state=present update_cache=yes" | |
sudo: yes | |
with_items: | |
- python-dev | |
- libxml2 | |
- libxml2-dev | |
- libxslt1-dev | |
- lib32z1-dev | |
- libssl-dev | |
- zlib1g-dev | |
- name: install lxml | |
command: {{ path/to/virtualenv/bin/ }}pip install lxml | |
environment: | |
CFLAGS: "-O0" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for ubuntu run this from inside your virtualenv