diff --git a/setup_windows.py b/setup_windows.py index 324ed4e..2dafdec 100644 --- a/setup_windows.py +++ b/setup_windows.py @@ -102,14 +102,14 @@ def install_libraries_with_deps(libraries): return failed_installations, multiple_attempts other_libraries = [ - "https://github.com/simonflueckiger/tesserocr-windows_build/releases/download/tesserocr-v2.7.1-tesseract-5.4.1/tesserocr-2.7.1-cp311-cp311-win_amd64.whl", - "tessdata==1.0.0", - "tessdata.eng==1.0.0", + "https://github.com/simonflueckiger/tesserocr-windows_build/releases/download/tesserocr-v2.7.0-tesseract-5.3.4/tesserocr-2.7.0-cp311-cp311-win_amd64.whl", "pillow==10.4.0" ] full_install_libraries = [ - "pymupdf==1.24.9" + "pymupdf==1.24.9", + "tessdata.eng==1.0.0", + "tessdata==1.0.0", ] # 1. upgrade pip, setuptools, wheel @@ -156,4 +156,4 @@ def install_libraries_with_deps(libraries): hours, rem = divmod(total_time, 3600) minutes, seconds = divmod(rem, 60) -print(f"\033[92m\nTotal installation time: {int(hours):02d}:{int(minutes):02d}:{seconds:05.2f}\033[0m") +print(f"\033[92m\nTotal installation time: {int(hours):02d}:{int(minutes):02d}:{seconds:05.2f}\033[0m") \ No newline at end of file