Pinned python package versions

master
B.J. Dweck 2023-09-21 15:21:17 +03:00
parent aa17dcc48a
commit 9d33c2ee10
2 changed files with 5 additions and 12 deletions

View File

@ -36,16 +36,9 @@ You need Tesseract for the OCR functionality:
```bash ```bash
sudo apt-get install tesseract-ocr sudo apt-get install tesseract-ocr
``` ```
#### Python Dependencies ### Python Dependencies
To run AnkiAI, you'll need to have the following dependencies installed: To ensure consistent functionality, it's crucial to use the provided `requirements.txt` file which pins dependencies to known compatible versions.
```
genanki==0.8.0
Pillow
openai
flask
```
You can install the Python dependencies via `pip` using the `requirements.txt` file: You can install the Python dependencies via `pip` using the `requirements.txt` file:

View File

@ -1,4 +1,4 @@
genanki==0.8.0 genanki==0.8.0
Pillow Pillow==10.0.1
openai openai==0.28.0
flask Flask==2.3.3