rpi3-opencv icon indicating copy to clipboard operation
rpi3-opencv copied to clipboard

Unable to locate package leptonica

Open flatsiedatsie opened this issue 5 years ago • 3 comments

When I run

./install_requires_related2opencv.sh

I get the error mentioned in the title. I have run sudo apt-get update.

flatsiedatsie avatar Mar 14 '19 17:03 flatsiedatsie

liblept5 does seem to exist. Perhaps that will work?

flatsiedatsie avatar Mar 14 '19 17:03 flatsiedatsie

I just noticed this when doing an upgrade:

The following packages were automatically installed and are no longer required:
  libtesseract-data libtesseract3 tesseract-ocr-eng tesseract-ocr-equ
  tesseract-ocr-osd
Use 'sudo apt autoremove' to remove them.

flatsiedatsie avatar Mar 14 '19 17:03 flatsiedatsie

I solved it by replacing package name leptonica with libleptonica-dev

maxritter avatar Mar 30 '19 09:03 maxritter