BackupGGCode / pytesseracttrainer

Visual tesseract box file editor
GNU General Public License v3.0
1 stars 1 forks source link

cannot succesfully run pytesseracttrainer #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

I download the file an run I got the below error:

Traceback (most recent call last):
  File "D:\Documents and Settings\sochendaK\Desktop\tesseractTrainer(2).py", line 21, in <module>
    import gtk
  File "C:\Python26\lib\site-packages\gtk-2.0\gtk\__init__.py", line 30, in <module>
    import gobject as _gobject
  File "C:\Python26\lib\site-packages\gtk-2.0\gobject\__init__.py", line 26, in <module>
    from glib import spawn_async, idle_add, timeout_add, timeout_add_seconds, \
  File "C:\Python26\lib\site-packages\gtk-2.0\glib\__init__.py", line 22, in <module>
    from glib._glib import *
ImportError: DLL load failed: The specified module could not be found.

I already installed pygtk, please tell what are the additional requirements. 

Original issue reported on code.google.com by khemsoch...@gmail.com on 17 Jan 2011 at 7:09

GoogleCodeExporter commented 9 years ago
pytesseracttrainer depends on pygtk only. And it looks like you did not 
installed pygtk correctly e.g. with all its dependencies (glib should by part 
of gtk) - see http://www.pygtk.org/downloads.html.

How did you install pygtk?

Original comment by zde...@gmail.com on 17 Jan 2011 at 8:19

GoogleCodeExporter commented 9 years ago
Yes I did. I installed this pygtk-all-in-one-2.22.5.win32-py2.6.msi 
and I used python 2.6

Original comment by khemsoch...@gmail.com on 17 Jan 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Is there something else I miss here?

Original comment by khemsoch...@gmail.com on 17 Jan 2011 at 8:55

GoogleCodeExporter commented 9 years ago
Please see the attachment that I have glib under the gtk-2.0 folder which is 
the result from installation of the pygtk-all-in-one-2.22.5.win32-py2.6.msi

Original comment by khemsoch...@gmail.com on 17 Jan 2011 at 9:25

Attachments:

GoogleCodeExporter commented 9 years ago
I did not test this package yet ;-) but you need to have *libglib-2.0-0.dll* in 
your patch (try try to run 'echo %path%' in command line).

My gtk+ runtime is installed in ""c:\Program Files\gtk_bundle\" so in PATH I 
have this "c:\Program Files\gtk_bundle\bin\" 

Original comment by zde...@gmail.com on 17 Jan 2011 at 10:11

GoogleCodeExporter commented 9 years ago
solved by installing the gtkbundle and set Path to it.

Thanks.

Original comment by khemsoch...@gmail.com on 18 Jan 2011 at 3:40

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 18 Jan 2011 at 7:18