conda-forge / tesseract-feedstock

A conda-smithy repository for tesseract.
BSD 3-Clause "New" or "Revised" License
5 stars 17 forks source link

TESSDATA_PREFIX environment variable is set to your "tessdata" directory. #27

Closed AVI18794 closed 3 years ago

AVI18794 commented 3 years ago

Issue: I have installed the tesseract OCR and also the environment variables are all set, while I am trying to execute the command it says TESSDATA_PREFIX environment variable is not set. I have also checked the thread and set the path of the tessdata directory as well. I am using windows 10


Environment (conda list):

``` $ conda list ![image](https://user-images.githubusercontent.com/37730987/105748894-bbfba200-5f68-11eb-8551-85e2871057b6.png) ```


Details about conda and system ( conda info ):

``` $ conda info ![image](https://user-images.githubusercontent.com/37730987/105750701-14cc3a00-5f6b-11eb-9a2a-350d8adc8f8f.png) ```
AVI18794 commented 3 years ago

While installing the Tesseract make sure the directory where you are installing the tesseract must not contain any special characters including hyphen in the foldername. It was creating a problem while installing the tesseract and setting the path of TESSDATA_PREFIX on windows 10. Solved the issue by re-installing in the new folder with no special symbols.