-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant install tesseocr with pip -r #29
Comments
|
@sirfz sorry, can you please read this issue pypa/pip#2478, especially this comment pypa/pip#2478 (comment) with answer |
Yes, those are exactly what's happening in your case as far as I understand. You must install Cython before installing tesserocr. Cython is a setup-requirement, not a runtime-requirement, so |
As far I understand this comment pypa/pip#2478 (comment) tesserocr should setup_requires Cython with "some lazy-import glue", because it impossible run setup.py without Cython |
I've already implemented this in the tesseract4 branch. Not sure how well pip plays with You can try it out by switching to that branch and |
Yes, this works for me:
Thanks! |
@sirfz is it possible backport your setup.py from tesseract4 branch to master? or publish current version of tesseract4 branch to pypi? |
Hi, I want to install tess with
pip insatll -r requirements.txt
(in running tests with tox actually), but this scenario doesnt work. See:I got error:
I'm Python newbie, but I think this issue maybe due to lack of
setup_requires
orinstall_requires
in https://github.com/sirfz/tesserocr/blob/master/setup.py?The text was updated successfully, but these errors were encountered: