Skip to content

import error on Mac OS X 10.9.5 #68

@GoogleCodeExporter

Description

@GoogleCodeExporter
What is the expected output? What do you see instead?
I expect to see no output when importing the module. Instead, I get:
  File "test.py", line 1, in <module>
    import tesseract
  File "/usr/local/lib/python2.7/site-packages/python_tesseract-0.9-py2.7-macosx-10.9-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-py2.7-macosx-10.9-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-py2.7-macosx-
10.9-x86_64.egg/_tesseract.so, 2): Symbol not found: 
_TessBaseAPIClearPersistentCache
  Referenced from: /usr/local/lib/python2.7/site-packages/python_tesseract-0.9-py2.7-macosx-10.9-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-py2.7-macosx-10.9-x86_64.egg/_tesseract.so

What version of the product are you using? On what operating system?
python-tesseract 0.9-0.3 on Mac OS X 10.9.5 "Mavericks" with Python 2.7.8.

plz help me-_-


Original issue reported on code.google.com by ttps920...@gmail.com on 9 Oct 2014 at 5:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions