Skip to content

Fix requirements.txt for fresh environment installation#18

Open
michaelcw02 wants to merge 1 commit into
xmed-lab:mainfrom
michaelcw02:updateRequirements
Open

Fix requirements.txt for fresh environment installation#18
michaelcw02 wants to merge 1 commit into
xmed-lab:mainfrom
michaelcw02:updateRequirements

Conversation

@michaelcw02

Copy link
Copy Markdown

Summary

The current requirements.txt fails on a fresh install due to a deprecated dependency and missing packages.

Changes

  • Replaced fitz with pymupdf: The fitz package on PyPI is not the correct PyMuPDF binding and fails to install. The pymupdf package (which provides the fitz module) is the correct dependency and was already listed but fitz was redundant/broken.
  • Added opencv-python: Required at runtime but was missing from the dependency list.
  • Added accelerate: Required for model inference but was missing from the dependency list.

Testing

Verified successful pip install -r requirements.txt on a clean virtual environment.

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.

1 participant