<commit_before>---

#Inpired in 
#https://ibm-watson-data-lab.github.io/pixiedust/install.html

- name: Ensure Pixiedust home directory exists
  file: path="{{ pixiedust_home_dir }}" state=directory owner=ubuntu group=users mode=g+rw

- name: Ensure Pixiedust bin directory exists
  file: path="{{ pixiedust_home_dir }}/bin" state=directory group=users mode=g+rw

- name: Install dependencies for ansible
  pip: name={{ item }} executable=pip3
  with_items:
    - pexpect

- name: Install dependencies for pixiedust
  pip: name={{ item }} executable=pip3
  with_items:
    - traitlets
    - pyyaml
    - requests
<commit_msg>make sure it is installed for Python 2.<commit_after>---

#Inpired in 
#https://ibm-watson-data-lab.github.io/pixiedust/install.html

- name: Ensure Pixiedust home directory exists
  file: path="{{ pixiedust_home_dir }}" state=directory owner=ubuntu group=users mode=g+rw

- name: Ensure Pixiedust bin directory exists
  file: path="{{ pixiedust_home_dir }}/bin" state=directory group=users mode=g+rw


- name: Install dependencies for ansible for Python 2
  pip: name={{ item }} executable=pip2
  with_items:
    - pexpect

- name: Install dependencies for ansible
  pip: name={{ item }} executable=pip3
  with_items:
    - pexpect

- name: Install dependencies for pixiedust
  pip: name={{ item }} executable=pip3
  with_items:
    - traitlets
    - pyyaml
    - requests

{'fraction_non_alphanumeric': 0.11293781272337383, 'fraction_numerical': 0.005003573981415297, 'mean_word_length': 4.0, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5433275', 'n_tokens_mistral': 473, 'n_tokens_neox': 451, 'n_words': 129}