From 9d33c2ee103cd4267a16bb1c5ccb76d36981896f Mon Sep 17 00:00:00 2001 From: Benjamin Dweck Date: Thu, 21 Sep 2023 15:21:17 +0300 Subject: [PATCH] Pinned python package versions --- README.md | 11 ++--------- requirements.txt | 6 +++--- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 574cde2..19055cc 100644 --- a/README.md +++ b/README.md @@ -36,16 +36,9 @@ You need Tesseract for the OCR functionality: ```bash sudo apt-get install tesseract-ocr ``` -#### Python Dependencies +### Python Dependencies -To run AnkiAI, you'll need to have the following dependencies installed: - -``` -genanki==0.8.0 -Pillow -openai -flask -``` +To ensure consistent functionality, it's crucial to use the provided `requirements.txt` file which pins dependencies to known compatible versions. You can install the Python dependencies via `pip` using the `requirements.txt` file: diff --git a/requirements.txt b/requirements.txt index 9706f08..c7b42b7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ genanki==0.8.0 -Pillow -openai -flask \ No newline at end of file +Pillow==10.0.1 +openai==0.28.0 +Flask==2.3.3 \ No newline at end of file