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!