Skip to content

Fix: Add python-docx dependency to resolve ModuleNotFoundError#10

Merged
getOffIt merged 1 commit intomainfrom
fix/add-python-docx-dependency
Dec 28, 2025
Merged

Fix: Add python-docx dependency to resolve ModuleNotFoundError#10
getOffIt merged 1 commit intomainfrom
fix/add-python-docx-dependency

Conversation

@getOffIt
Copy link
Copy Markdown
Owner

Summary

This PR adds the missing python-docx dependency to pyproject.toml to fix the ModuleNotFoundError: No module named 'docx' that prevents Reporter agents from generating DOCX reports.

Problem

Without this dependency, when Reporter agents attempt to generate DOCX reports, they encounter:

ModuleNotFoundError: No module named 'docx'

This prevents the creation of:

  • final_report.docx (Part 1)
  • Technology-specific reports (Part 2)

Impact: Users complete the entire analysis workflow but receive no deliverable output, making the tool essentially useless without this fix.

Solution

Add python-docx>=1.1.0 to the dependencies list in tech-recon/setup/pyproject.toml.

Changes

  • ✅ Added python-docx>=1.1.0 to dependencies in pyproject.toml

Testing

After merging, users should:

  1. Install dependencies: uv pip install -e . or uv sync
  2. Verify import works: python -c "from docx import Document; print('OK')"
  3. Run Part 1 or Part 2 workflow and confirm DOCX reports are generated successfully

Related

Fixes #9

- Add python-docx>=1.1.0 to dependencies in pyproject.toml
- Fixes issue where Reporter agents fail to generate DOCX reports
- Resolves #9
@getOffIt getOffIt merged commit 893bb64 into main Dec 28, 2025
@getOffIt getOffIt deleted the fix/add-python-docx-dependency branch December 28, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing python-docx dependency in pyproject.toml causes ModuleNotFoundError

2 participants