Files
my-botty/environment.yml
T
alexandClaude Sonnet 4.6 ee940b7e3d fix: pin leptonica=1.78.0 to match tesserocr wheel DLL dependency
The custom tesserocr wheel links against leptonica-1.78.0.dll at
compile time. Unpinned leptonica on conda-forge resolves to 1.82+
which installs leptonica-1.82.0.dll — a different filename — so
Windows DLL loader cannot find it regardless of os.add_dll_directory.

Also force-reinstall the wheel in install.bat to guarantee the
correct binary is used (not a stale cached version), and add a
diagnostic that prints which DLLs are actually present when the
smoke test fails so the root cause is visible instead of a vague
warning.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-24 13:51:54 +02:00

37 lines
709 B
YAML

name: botty
channels:
- conda-forge
dependencies:
- python=3.10
- pywin32
- pip
- leptonica=1.78.0 # pinned: tesserocr wheel links against leptonica-1.78.0.dll
- tesseract=5.1.0
- pkg-config
- rapidfuzz=2.15.1
- pip:
- pyinstaller
- opencv-python==4.5.5.64
- transitions
- mss==7.0.1
- numpy==1.26.4
- mouse
- keyboard
- beautifultable
- pytweening
- requests
- coverage
- pytest
- pytest-env
- pytest-mock
- pyparsing
- graphviz
- psutil
- cryptography
- pillow
- discord.py
- parse
- dependencies/tesserocr-2.5.2-cp310-cp310-win_amd64.whl
- typing_extensions
- colorama
- dataclasses-json