Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Missing Dependency

Direct answer

Missing Dependency isolates absent, incompatible or unreachable runtime requirements such as modules, binaries, libraries, collections, providers, interpreters, services or external APIs.

When to use this

Use it when the symptom is “Missing Dependency”: work through the layers in order and stop at the first one that fails.

First 30 seconds

1. Missing dependency: package/module/collection/binary not present or wrong version.

2. Use lock files and execution environments/containers.

3. Install pinned versions.

4. Document.

5. Rebuild images.

Operational verification

run → import/command → missing → install pinned

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
automation troubleshooting and failure analysis
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformautomation troubleshooting and failure analysis · Missing Dependency owns generic automation dependency resolution; supply-chain trust belongs to Automation Security and tool-specific dependencies to their branches.
Scope / prerequisiteUse it when the symptom is “Missing Dependency”: work through the layers in order and stop at the first one that fails.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Operational evidence path Verify boundary

source revision → runtime image/host → manifest/lock → dependency resolution path → load/import/connect → compatible capability → operation → target verification

Healthy evidence: runner/runtime and dependency versions are reproducible, resolution chooses the intended artifact/service, preflight loads it successfully, and the original operation verifies.

Step 2 Failure modes and next checks Narrow the fault

Suspicious evidence: runners drift, unpinned latest packages are installed during incidents, PATH/module precedence is ignored, or external reachability is equated with functional compatibility.

Dependency presence is bounded evidence, but it does not show compatibility, correct resolution path, trusted provenance or functional external service behavior.

Step 3 Common mistakes Narrow the fault
  • Missing module/collection on the runner but present on a laptop.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Package name present ≠ required version or architecture is active.
  • Dependency installed ≠ runner resolves that instance.
  • Lock file exists ≠ runtime environment matches it.
  • External service DNS resolves ≠ dependency is functionally available.
Key checks
  • pip check / ansible-galaxy collection list / Get-Module -ListAvailable — installed dependencies
  • Lock file vs environment — mismatch
  • Execution environment image — consistency
ReferenceWhat it is1 section · depth on demand

Core model

Pin runtime image/host and dependency manifest/lock; inspect resolution path and exact version constraints; distinguish not-installed from wrong-version, wrong-architecture and unreachable-service cases; restore from trusted source; rerun dependency preflight before the original workload.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Missing Dependency owns generic automation dependency resolution; supply-chain trust belongs to Automation Security and tool-specific dependencies to their branches.

In depth

A missing dependency error means the automation expected a tool, library, module, collection or file that is not available where it runs: ModuleNotFoundError, command not found, couldn't resolve module/action, provider not found.

Checklist:

1. Which environment ran the job? (runner, container image, venv, execution environment)

2. Is the dependency declared? (requirements.txt, collections/requirements.yml, provider block)

3. Was it installed in that environment, and in the expected version?

4. Is the interpreter or PATH the one you think? (which python, ansible --version)

python -c 'import netmiko, sys; print(netmiko.__version__, sys.executable)'
ansible-galaxy collection list | grep cisco.ios
terraform providers

The lasting fix is to declare dependencies and build runners or execution environments from those declarations.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docautomation troubleshooting and failure analysis current

Authoritative/upstream documentation reviewed for bounded claims in Automation Troubleshooting > Missing Dependency. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/azure/architecture/patterns/retry · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
missing automation dependencymodule not found automationdependency failure automation
Embedded reference data

Quick lookup tables

Missing Dependency troubleshooting proof-boundary map

Fast symptom/scope, first-failed-boundary, effective-outcome and recovery/closure map for Missing Dependency.

BoundaryHealthy evidenceSuspicious evidence
Symptom / scopeTime window, immutable source/run identity, effective inputs and exact targets are explicitFloating source, changed inputs or ambiguous targets destroy reproducibility
First failed boundaryTransport/auth/dependency/render/operation evidence identifies the earliest divergenceInvestigation starts at the final error and skips earlier unproven boundaries
Effective outcomeController result is paired with target read-back and workload/service acceptanceGreen execution state or changed symptom substitutes for effective-state verification
Recovery / closureMinimal change restores the original test and regression/partial-state checks are cleanBroad retry or unrelated edits make the incident non-reproducible and hide residual state
Confirmation

Confirm action

Continue?