ropensci / tesseract

Bindings to Tesseract OCR engine for R
https://docs.ropensci.org/tesseract
245 stars 26 forks source link

Tesseract package installation issue from R studio in CentOS 7 server #49

Closed ghareesh closed 4 years ago

ghareesh commented 4 years ago

Hi Team.. I am running R studio on CentOs 7 server.. Below is tesseract details installed at OS level tesseract --version tesseract 4.1.0 leptonica-1.75.3 libjpeg 6b (libjpeg-turbo 1.2.90) : libpng 1.5.13 : libtiff 4.0.3 : zlib 1.2.7

I am trying to install tesseract package from R studio..

It shows below error..

I am not able to understand the next steps on troubleshooting this error.. Could you please help..

R Version details.: version _
platform x86_64-redhat-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 3
minor 5.0
year 2018
month 04
day 23
svn rev 74626
language R
version.string R version 3.5.0 (2018-04-23) nickname Joy in Playing

jeroen commented 4 years ago

Did you do:

sudo yum install epel-release
sudo yum install tesseract-devel leptonica-devel
ghareesh commented 4 years ago

Yes jeron.. this is info.. actually installation is done in root level by server admin.. I am having but user access.. [root@hdop-stg-r1 skatpally]# rpm -qa |grep tesseract-devel tesseract-devel-3.04.00-3.el7.x86_64 [root@hdop-stg-r1 skatpally]# rpm -qa |grep leptonica-devel leptonica-devel-1.72-2.el7.x86_64 [root@hdop-stg-r1 skatpally]# rpm -qa |grep epel-release epel-release-7-11.noarch

jeroen commented 4 years ago

So you say above that you run tesseract 4.1.0 but then it looks like you run tesseract-devel-3.04.00? Did you install multiple versions?

Can you show the full output of install.packages("tesseract") ?

ghareesh commented 4 years ago

Hi Jeroen.. Yes.. you were right there was 3. version as well preinstalled.. Admin has removed it and reinstalled.. Now it is working fine.. Thanks for helping here ..