Try

$ brew update
$ brew install tesseract --HEAD


ShreeDevi
____________________________________________________________
भजन - कीर्तन - आरती @ http://bhajans.ramparivar.com

On Mon, Aug 28, 2017 at 12:33 PM, Mahesh Mesta <[email protected]>
wrote:

>                  Hello,
>
> up votedown votefavorite
> <https://stackoverflow.com/questions/45912365/calling-resource-sha1-is-disabled-use-resource-sha256-instead-error-while-insta?noredirect=1#>
>
> I am trying to install tesseract in mac to work with ruby gem
> tesseract-ocr. However, it seems like the newest version of the tesseract
> is not supported by the gem. Hence I tried the following:
>
> brew install
> https://raw.githubusercontent.com/Homebrew/homebrew/8ba134eda537d2cee7daa7ebdd9f728389d9c53e/Library/Formula/tesseract.rb
>
> it throws the following error:
>
> Error: Calling Resource#sha1 is disabled!Use Resource#sha256 
> instead./Users/maheshmesta/Library/Caches/Homebrew/Formula/tesseract.rb:123:in
>  `block
> (2 levels) in <class:Tesseract>'
>
> How can I rectify this issue?
>
> Regards,
>
> Mahesh
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tesseract-ocr/430f84fe-29d0-4b33-8c95-d97884f948a7%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/tesseract-ocr/430f84fe-29d0-4b33-8c95-d97884f948a7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/CAG2NduWU7DB4TdpJ7U%3DuihAk9Zx_tHq%3DJKxSFBOSiQBWFRevSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to