-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem setting the OCR Environment #46
Comments
Good catch! I think there's a solution might even be a bit easier than that: It looks like at the moment |
Unfortunately, after removing the
The underlying issues seems to be that I think adding |
Even with the prior change + python=3.9, PyPDF2<3.0 I am getting the following error:
The issue appears to be that |
Hi there, I'm @panchyni's colleague who contributed the installation instructions in the original issue. It looks like I also believe that pinning some of the versions (like |
Using the current Setup Environment Instructions, when pip tries to install 'tesseract' it installs this package (https://pypi.org/project/tesseract/), which is not the intended one. A colleague of one mine was able to fix this error by loading tesseract through conda instead of pip, but it require some modifications to other packages:
PyPDF2
toPyPDF2<3.0
tesseract
conda create -n stopa_env python=3.9 pip poppler tesseract
conda activate stopa_env
pip install -U -r requirements.txt
pip install -U -r requirements_ocr.txt
I believe this is issue with the pip package repository, but I can provide details about our system, conda install, and the final stop_env environment if those would be useful.
The text was updated successfully, but these errors were encountered: