tesserocr icon indicating copy to clipboard operation
tesserocr copied to clipboard

Publish Wheels

Open cancan101 opened this issue 7 years ago • 9 comments

Ideally with static libraries included so that all that is required for installation in pip.

cancan101 avatar Jun 01 '17 00:06 cancan101

I'd need to include tesseract and leptonica binaries in the wheels for this to work properly but I'm not sure what the best way to do this is to be honest. I'll need to look into it, any pointers are appreciated of course.

sirfz avatar Jun 01 '17 15:06 sirfz

This project does something similar: https://github.com/skvark/opencv-python/

cancan101 avatar Jun 01 '17 15:06 cancan101

@cancan101 what version of Python are you using? See if the wheels I added here work for you.

simonflueckiger avatar Oct 11 '17 17:10 simonflueckiger

@simonflueckiger Sorry it took me a while to looking the wheels. Unfortunately I am using Python 3.5 on linux (and those looks like windows wheels).

cancan101 avatar Oct 25 '17 19:10 cancan101

I see... not really sure how to package the libraries up in linux. As an alternative, you can use conda install -c mcs07 tesserocr if you have the conda package manager installed (i recommend Miniconda). For Python 3.5 you can download the Miniconda Python 3.6 installer (or even 2.7, doesn't really matter) and create a Python 3.5 environment with conda create -n py35 python=3.5, then switch to it with source activate py35. Finally install tesserocr with the command mentioned before. Tell me if using conda is not an option for you. I know that this is not a solution to this issue, but maybe it can still be of help to you or someone else stumbling upon this.

Anaconda-Server Badge

simonflueckiger avatar Oct 27 '17 14:10 simonflueckiger

@simonflueckiger I don't think my conda recipe for tesserocr is working properly on Windows yet, it's still a work in progress...

mcs07 avatar Oct 28 '17 16:10 mcs07

@mcs07 yes, for windows he can use my recipe conda install -c simonflueckiger tesserocr But as I understand it, @cancan101 is workin on linux at the moment, so he should be fine with your recipe, right?

simonflueckiger avatar Oct 28 '17 16:10 simonflueckiger

Ah oops yes, I skimmed over the thread too quickly!

mcs07 avatar Oct 28 '17 16:10 mcs07

Has there been any progress on getting static wheels to work on Linux?

stefan6419846 avatar May 23 '22 08:05 stefan6419846