Comments (28)
Correct me if I am wrong.
Neither Lepontica Nor Tesseract has x64 windows version. So is python-tesseract
Original comment by [email protected]
on 2 May 2012 at 6:18
from python-tesseract.
You should consider installing 32bit version of python rather than 64bit in
your already 64bit OS.
Original comment by [email protected]
on 8 May 2012 at 11:22
- Changed state: WontFix
from python-tesseract.
I have this issue with 32bit version of python. Python 2.7.3 (default, Apr 10
2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32
I am able to run python-tesseract 0.7, but I get the ImportError: DLL load
failed for _tesseract when I try to use python-tesseract 0.7.4.
I would like to upgrade to use the new CvImage to OCR without writing to disk.
Original comment by [email protected]
on 10 May 2012 at 1:42
from python-tesseract.
If u are using 64bit OS installed with 32bit Python, please try help me testing
the following file:
http://python-tesseract.googlecode.com/files/python-tesseract-0.7.4-1.win32-py2.
7.exe
Original comment by [email protected]
on 10 May 2012 at 8:12
- Changed state: Started
from python-tesseract.
I still get the error with the test build.
Windows 7 64bit
Python 2.7.3 32bit
Original comment by [email protected]
on 10 May 2012 at 3:57
from python-tesseract.
Then, do me a favour. I need to find out what dlls are missing.
1) cd C:\Python27\Lib\site-packages
look for a file called _tesseract.pyd
2) download http://www.dependencywalker.com/
3) use dependency walker to determine what dlls a re missing.
Original comment by [email protected]
on 10 May 2012 at 4:15
Attachments:
from python-tesseract.
Looks like there might be a few problems.
1. opencv_core240.dll is missing a dependency for tbb.dll
2. there are some missing files for tesseract (tesseract-dll.exe,
tesseract302.exp and tesseract302.lib)
3. some of the files are not in the correct directory from the installer
(liblept168.dll, libtesseract302.dll and opencv_core240.dll)
0.7.4-1 installs the following from the python-tesseract-wininst.log:
200 File Copy: C:\Python27\liblept168.dll
200 File Copy: C:\Python27\libtesseract302.dll
200 File Copy: C:\Python27\opencv_core240.dll
200 File Copy:
C:\Python27\Lib\site-packages\python_tesseract-tesseract-py2.7.egg-info
200 File Copy: C:\Python27\Lib\site-packages\tesseract.py
200 File Copy: C:\Python27\Lib\site-packages\_tesseract.pyd
200 File Copy: C:\Python27\Lib\site-packages\tesseract.pyc
200 File Copy: C:\Python27\Lib\site-packages\tesseract.pyo
0.7 wininst.log has:
200 File Copy: C:\Python27\Lib\site-packages\eurotext.jpg
200 File Copy: C:\Python27\Lib\site-packages\liblept168.dll
200 File Copy: C:\Python27\Lib\site-packages\libtesseract302.dll
200 File Copy: C:\Python27\Lib\site-packages\libtesseract302.exp
200 File Copy: C:\Python27\Lib\site-packages\libtesseract302.lib
200 File Copy: C:\Python27\Lib\site-packages\python_tesseract-0.7-py2.7.egg-info
200 File Copy: C:\Python27\Lib\site-packages\tesseract-dll.exe
200 File Copy: C:\Python27\Lib\site-packages\tesseract.py
200 File Copy: C:\Python27\Lib\site-packages\tesseract.pyc
200 File Copy: C:\Python27\Lib\site-packages\test.py
200 File Copy: C:\Python27\Lib\site-packages\_tesseract.pyd
200 File Copy: C:\Python27\Lib\site-packages\test.pyc
200 File Copy: C:\Python27\Lib\site-packages\tesseract.pyc
200 File Copy: C:\Python27\Lib\site-packages\test.pyo
200 File Copy: C:\Python27\Lib\site-packages\tesseract.pyo
Original comment by [email protected]
on 10 May 2012 at 5:10
from python-tesseract.
Pls confirm whether moving the three dlls into site-packages will fix the
problem
Original comment by [email protected]
on 10 May 2012 at 5:13
from python-tesseract.
[deleted comment]
from python-tesseract.
It is not fixed unless I add tbb.dll. I tested with tbb.dll that was ia32 vc8.
Original comment by [email protected]
on 10 May 2012 at 5:24
from python-tesseract.
then 4 files to site-packages?
Original comment by [email protected]
on 10 May 2012 at 5:29
from python-tesseract.
Yes, those 4 files to site-packages fixes it.
Original comment by [email protected]
on 10 May 2012 at 5:41
from python-tesseract.
[deleted comment]
from python-tesseract.
Pls help test again
http://python-tesseract.googlecode.com/files/python-tesseract-0.7.4-2.win32-py2.
7.exe
Original comment by [email protected]
on 10 May 2012 at 6:17
from python-tesseract.
[deleted comment]
from python-tesseract.
That works for me.
Thanks for the quick response!
Original comment by [email protected]
on 10 May 2012 at 6:23
from python-tesseract.
By the way, it should not be deemed as a proper way to do it. Inside
site-packages, there are no any dll files.
I guess the root cause is that you didn't include C:\python27 into your %PATH%
Original comment by [email protected]
on 10 May 2012 at 6:26
from python-tesseract.
I never tested with the dlls still in the C:\python27 directory after I added
the tdd.dll. I just did and it works.
Which means the only problem for me was the missing tdd.dll and not the
location of the other dlls.
Original comment by [email protected]
on 10 May 2012 at 7:02
from python-tesseract.
Are u suggesting to me that I should put back all 4 dlls to c:\python27?
Original comment by [email protected]
on 10 May 2012 at 7:07
from python-tesseract.
Sigh.... I need someone to buy me a coffee
Have a nice day
Original comment by [email protected]
on 10 May 2012 at 7:10
from python-tesseract.
I think it is whatever you prefer. It works both ways for me now that I have
tdd.dll.
Original comment by [email protected]
on 10 May 2012 at 7:18
from python-tesseract.
Pls help me check again.
http://python-tesseract.googlecode.com/files/python-tesseract-0.7.4-4.win32-py2.
7.exe
Many thanks
Original comment by [email protected]
on 10 May 2012 at 8:17
from python-tesseract.
Works perfectly
Original comment by [email protected]
on 10 May 2012 at 8:22
from python-tesseract.
both example 1 and example 2 on the frontpage?
Original comment by [email protected]
on 10 May 2012 at 8:23
from python-tesseract.
Yes, both examples work for me.
Original comment by [email protected]
on 10 May 2012 at 8:56
from python-tesseract.
Thanks again
Original comment by [email protected]
on 10 May 2012 at 10:06
from python-tesseract.
Original comment by [email protected]
on 10 May 2012 at 10:06
- Changed state: Done
from python-tesseract.
I am seeing this work if importing directly from within the python console or
when running as a script, but I'm receiving the following error when I attempt
to run an executable built with py2exe 0.6.10:
File "zipextimporter.pyo", line 82, in load_module
File "tesseract.pyo", line 26, in <module>
File "tesseract.pyo", line 18, in swig_import_helper
File "zipextimporter.pyo", line 98, in load_module
ImportError: MemoryLoadLibrary failed loading _tesseract.pyd
I'm using the most recent build of python-tesseract and python 2.7.2 in Windows
7. Any ideas?
Original comment by [email protected]
on 27 Jul 2012 at 8:17
from python-tesseract.
Related Issues (20)
- fails on python build HOT 5
- Import Error (DLL load failed: The specified module could not be found) HOT 18
- ..._tesseract.so: undefined symbol: _ZN9tesseract16TessTextRendererC1Ev HOT 4
- APP CRASH HOT 2
- Leptonica 1.71 breaks python-tesseract 0.9-0.3 HOT 5
- Python-tesseract on raspberry pi HOT 24
- 64bit crashes Python HOT 4
- Executing the #ri.BoundingBox(level,x1,y1,x2,y2) command for either words or characters
- Building on Centos 7: invalid conversion from ‘const Pix*’ to ‘Pix*’ HOT 9
- Parameter Requirment HOT 1
- self training combine multi-box HOT 1
- Memory leak HOT 3
- Will it be on PyPI? HOT 1
- import error on Mac OS X 10.9.5 HOT 13
- tesseract has no attribute pixRead HOT 10
- python-tesseract for python 3.x version windows 64b HOT 3
- Fails to compile on Ubuntu Trusty with OpenCV 3
- cvSetData error on import HOT 2
- Can't install on OSX
- python compatibility to win7 not avalaible in win7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-tesseract.