<commit_before>Pkg.update();

for pkgname in (
  "ArgParse",
  "PyCall",
  "PyPlot",
  "YAML",
  "HDF5",
  "JLD",
  "ArrayViews",
  "ProfileView"
  )

  Pkg.add(pkgname);
end

try
  Pkg.clone("https://github.com/grasingerm/List.jl.git");
catch e
  warn("unable to clone List.jl");
end

warn("For python dependencies, pip must be installed!");
try
  println("Attempting to install PyYaml...");
  run(`pip install pyyaml`);
  println("Attempting to install numpy...");
  run(`pip install numpy`);
  println("Attempting to install matplotlib...");
  run(`pip install matplotlib`);
catch e
  warn("unable to install python dependencies");
end<commit_msg>Modified install-dependencies script to call pip as admin<commit_after>Pkg.update();

for pkgname in (
  "ArgParse",
  "PyCall",
  "PyPlot",
  "YAML",
  "HDF5",
  "JLD",
  "ArrayViews",
  "ProfileView"
  )

  Pkg.add(pkgname);
end

try
  Pkg.clone("https://github.com/grasingerm/List.jl.git");
catch e
  warn("unable to clone List.jl");
end

warn("For python dependencies, pip must be installed!");
try
  println("Attempting to install PyYaml...");
  run(`sudo pip install pyyaml`);
  println("Attempting to install numpy...");
  run(`sudo pip install numpy`);
  println("Attempting to install matplotlib...");
  run(`sudo pip install matplotlib`);
catch e
  warn("unable to install python dependencies");
end
{'fraction_non_alphanumeric': 0.1582045621780721, 'fraction_numerical': 0.0014716703458425313, 'mean_word_length': 4.271317829457364, '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': '1859402', 'n_tokens_mistral': 488, 'n_tokens_neox': 462, 'n_words': 129}