From 1bc79f2515fb9237f648df68742e45fa3a9a02c4 Mon Sep 17 00:00:00 2001 From: space2lim Date: Sun, 2 Feb 2025 21:05:39 +0900 Subject: [PATCH] edit readme about optimization conflicts with opencv --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 2bb378d..73a9159 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,11 @@ This project is a code for Ebook snipping and PDF converting ## Installation 1. Clone this repository to your local machine. +## Warn +- Keep `optimize = 0` in the `.spec` file to avoid conflicts with OpenCV when using PyInstaller. +- Setting `optimize = 2` may cause runtime errors related to `numpy` and `opencv-python` due to compatibility issues with compiled C extensions. +- This ensures better stability, especially when working with image processing libraries like OpenCV and NumPy. + ## Contributing Feel free to contribute to this project by opening issues or pull requests. Any feedback or suggestions are welcome!