MarcosRech / python-tesseract

Automatically exported from code.google.com/p/python-tesseract
0 stars 0 forks source link

MAC OS X Mavericks (10.9), ImportError #49

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Already tried all the possible methods (via brew, and via ports from source)

MAC OS X Mavericks (10.9)

python test.py
Traceback (most recent call last):
  File "test.py", line 4, in <module>
    import tesseract
  File "/Testing/python-tesseract-read-only/tesseract.py", line 26, in <module>
    _tesseract = swig_import_helper()
  File "/Testing/python-tesseract-read-only/tesseract.py", line 18, in swig_import_helper
    import _tesseract
ImportError: 
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/python_tesseract-only-py2.7-macosx-10.9-x86_64.egg/_tesseract.so,
 2): Symbol not found: __ZN9tesseract11TessBaseAPI12GetTextlinesEPP4PixaPPi
  Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_tesseract-only-py2.7-macosx-10.9-x86_64.egg/_tesseract.so
  Expected in: flat namespace
 in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_tesseract-only-py2.7-macosx-10.9-x86_64.egg/_tesseract.so

Original issue reported on code.google.com by jonat...@visure.com.br on 3 Nov 2013 at 10:12

GoogleCodeExporter commented 8 years ago
I guess you might need to compile the source code on your own

Original comment by FreeT...@gmail.com on 10 Nov 2013 at 3:34

GoogleCodeExporter commented 8 years ago
Anyhow, thank you to inform me indirectly that I need to upgrade to OSX 10.9

Original comment by FreeT...@gmail.com on 10 Nov 2013 at 4:01

GoogleCodeExporter commented 8 years ago

Original comment by FreeT...@gmail.com on 9 May 2014 at 7:51