Giter Club home page Giter Club logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
I have the same error. Did you find a solution?

Original comment by [email protected] on 7 Jan 2015 at 8:42

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
updated. Hope it work

sudo easy_install 
https://python-tesseract.googlecode.com/svn/trunk/src/dist/python_tesseract-0.9-
py2.7-macosx-10.10-x86_64.egg

Original comment by [email protected] on 10 Jan 2015 at 1:38

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
I see the same issue using the updated .egg (ran easy_install Jan 11)

OS X 10.10.1
xcode-select version 2339.
Python 2.7.8 (via brew)
opencv 2.4.9 (via brew)
tesseract 3.02.02

thx

Original comment by [email protected] on 12 Jan 2015 at 6:18

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
How about


svn checkout http://python-tesseract.googlecode.com/svn/trunk/src 
python-tesseract
cd python-tesseract
python setup.py clean
python setup.py build
python setup.py install
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH"
python test.py


Original comment by [email protected] on 12 Jan 2015 at 7:42

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
I guess you need a clean uninstall of the old version of python tesseract
if you are using homebrew, it should be something like

sudo rm -Rf /usr/local/lib/python2.7/site-packages/*tess* 

Original comment by [email protected] on 12 Jan 2015 at 10:31

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
>svn checkout http://python-tesseract.googlecode.com/svn/trunk/src 
python-tesseract
>cd python-tesseract
>python-tesseract $ python setup.py clean

 Your os is:darwin 
 Tesseract version installed is 3.02.02 
 However, the minimal version needed is 3.03
 You may need to build it manually.
....
 Include directory <<tesseract>> was not found
...

So I guess I need to build tesseract from src.  

Original comment by [email protected] on 12 Jan 2015 at 5:00

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
Having the same issue.

OS X 10.10.1, Python 2.7.5, OpenCV 2.4.10, Tesseract 3.02.02

Unable to compile as per SVN instructions ("Unable to find 
'publictypes_mini.h'", which seems to have been deleted recently).

Also unable to run straight from the egg ("Could not find suitable distribution 
for Requirement.parse('python-tesseract==0.9')").

Original comment by [email protected] on 13 Jan 2015 at 2:03

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
Just upgraded to Tesseract 3.04. Also tried installing an older egg. Issue 
persists:

ImportError: 
dlopen(/Users/robbert/.python-eggs/python-tesseract_0.8-3.0-py2.7_macosx-10.9-in
tel.egg-tmp/_tesseract.so, 2): Symbol not found: 
__ZN9tesseract11TessBaseAPI11ProcessPageEP3PixiPKcS4_iP6STRING
  Referenced from: /Users/robbert/.python-eggs/python-tesseract_0.8-3.0-py2.7_macosx-10.9-intel.egg-tmp/_tesseract.so
  Expected in: /usr/local/lib/libtesseract.3.dylib
 in /Users/robbert/.python-eggs/python-tesseract_0.8-3.0-py2.7_macosx-10.9-intel.egg-tmp/_tesseract.so

Original comment by [email protected] on 13 Jan 2015 at 2:57

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
Are u using homebrew version?
Also, you need to install tesseract first

https://code.google.com/p/python-tesseract/wiki/HowToCompileForHomebrewMac

Original comment by [email protected] on 13 Jan 2015 at 2:58

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
This no longer seems to work. I get a 404 when running it.
sudo easy_install 
https://python-tesseract.googlecode.com/svn/trunk/src/dist/python_tesseract-0.9-
py2.7-macosx-10.10-x86_64.egg


Original comment by [email protected] on 4 Feb 2015 at 8:25

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
The same issue with 
OS X 10.10.2, Python 2.7.9, OpenCV 2.4.11(via brew), Tesseract 3.02(via brew)

Already remoted from the egg and run straight from a local egg.

Unable to compile using svn (^Csvn: E200015: Unable to connect to a repository 
at URL 'http://python-tesseract.googlecode.com/svn/trunk/src')

"""
>>> import tesseract
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/tesseract.py", line 28, in <module>
    _tesseract = swig_import_helper()
  File "/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/tesseract.py", line 24, in swig_import_helper
    _mod = imp.load_module('_tesseract', fp, pathname, description)
ImportError: 
dlopen(/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macos
x-10.10-x86_64.egg/_tesseract.so, 2): Symbol not found: 
__ZN9tesseract11TessBaseAPI12GetTextlinesEPP4PixaPPi
  Referenced from: /usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/_tesseract.so
  Expected in: /usr/local/lib/libtesseract.3.dylib
 in /usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/_tesseract.so
"""

Original comment by [email protected] on 20 Apr 2015 at 5:11

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
git clone https://bitbucket.org/3togo/python-tesseract/src
cd python-tesseract
python setup.py clean
python setup.py build
python setup.py install
export PYTHONPATH="/usr/local/lib/python2.7/site-packages:$PYTHONPATH"
python test.py

#############

It works for me. 

Original comment by [email protected] on 22 Apr 2015 at 12:33

from python-tesseract.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 25, 2024
OS X 10.10.4, Python 2.7.10, OpenCV 2.4.11(via brew), Tesseract 3.02(via brew)
easy_install 
https://bitbucket.org/3togo/python-tesseract/downloads/python_tesseract-0.9.1-py
2.7-macosx-10.10-x86_64.egg
Downloading 
https://bitbucket.org/3togo/python-tesseract/downloads/python_tesseract-0.9.1-py
2.7-macosx-10.10-x86_64.egg
Processing python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg
creating 
/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10
-x86_64.egg
Extracting python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg to 
/usr/local/lib/python2.7/site-packages
Adding python-tesseract 0.9.1 to easy-install.pth file

Installed 
/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10
-x86_64.egg
Processing dependencies for python-tesseract==0.9.1
Finished processing dependencies for python-tesseract==0.9.1
bash-3.2$ python
Python 2.7.10 (default, Jul  9 2015, 13:34:07)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import tesseract
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/tesseract.py", line 28, in <module>
    _tesseract = swig_import_helper()
  File "/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/tesseract.py", line 24, in swig_import_helper
    _mod = imp.load_module('_tesseract', fp, pathname, description)
ImportError: 
dlopen(/usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macos
x-10.10-x86_64.egg/_tesseract.so, 2): Symbol not found: _bbufferBytesToWrite
  Referenced from: /usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/_tesseract.so
  Expected in: /usr/local/lib/liblept.4.dylib
 in /usr/local/lib/python2.7/site-packages/python_tesseract-0.9.1-py2.7-macosx-10.10-x86_64.egg/_tesseract.so
>>>

Original comment by [email protected] on 14 Jul 2015 at 7:13

from python-tesseract.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.