-
Notifications
You must be signed in to change notification settings - Fork 17
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
selection via OCRD_MODULES fails due to dependent modules #364
Comments
make all OCRD_MODULES="core ocrd_tesserocr ocrd_cis"
fails due to dependend modules
Except for core (which is needed everywhere and can be seen as a special case) and tesseract/tesserocr, we have no dependencies between modules. In the latter case, we have some special rules which should switch over to the PPA installation of Tesseract if it is not selected as a module. So AFAICS the actual issue here is more specific: for some reason, these rules for tesserocr do not work anymore. |
Looking closer, we have 3 places where we try to turn some pip dependency into an explicit target via
|
BTW, opencv-python build is broken at the moment. |
has been fixed by #362 |
I tried to install ocrd_all with the setup-guide: https://ocr-d.de/en/setup:
and got following error running the mentioned command:
Seems the problem is that ocrd_tesserocr needs tesserocr to be installed. The installation of tesserocr is triggered but the sources are not fetched and that leads to the error. Running
make all OCRD_MODULES="core ocrd_tesserocr ocrd_cis tesseract tesserocr"
resolves the problem but maybe it would be good to change the makefile to be able to fetch the needed sources itself.The text was updated successfully, but these errors were encountered: