code: def tools(c):
      """Install tools in the virtual environment if not already on PATH"""
      for tool in TOOLS:
          if not which(tool):
              c.run(f"{VENV_BIN}/python -m pip install {tool}", pty=PTY)
  
file_path: pelican/tasks.py
imports: import os
  from pathlib import Path
  from shutil import which
  from invoke import task
label_desc: Use image node_id 8 for calling a global function with example usage: tools(c) without return types