Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
AD1
✓ from dissect.evidence.ad1 import AD1
✗ from dissect.evidence import AD1
Module not exposed at package level; wrong import leads to ImportError
Asdf
✓ from dissect.evidence.asdf import Asdf
✗ from dissect.evidence import Asdf
Module not exposed at package level
EWF
✓ from dissect.evidence.ewf import EWF
✗ from dissect.evidence import EWF
Module not exposed at package level
Open and read an EWF evidence file.
from dissect.evidence.ewf import EWF
# Open an EWF file (Ex01, E01, etc.)
with open('image.E01', 'rb') as f:
ewf = EWF(f)
print('Number of segments:', len(ewf.segments))
# Iterate over read/write iterator
for chunk in ewf.read_iter(512):
pass
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'dissect.evidence'
Package not installed or installed under different name (e.g., dissect-evidence).
fixInstall with: pip install dissect-evidence
AttributeError: module 'dissect.evidence' has no attribute 'EWF'
Importing from the top-level package instead of the submodule.
fixUse: from dissect.evidence.ewf import EWF
TypeError: argument 1 must be readable binary file, not str
Passing a file path string instead of a binary file object.
fixOpen with: with open('path.E01', 'rb') as f: ewf = EWF(f) Upgrade
Version history
3.13latest on PyPI · released Feb 24, 2026
Audit
Dependencies
dissect.cstructrequiredUsed for parsing binary structures
dissect.utilrequiredUtility functions and types
dissect.volumeoptionalVolume/file system handling (indirect via other dissect modules)
Resources
No resource links recorded.