Hello, I installed mysql and version 2.5 of pyt and the other library needed. Anyhow i try to run the program and it keeps giving me two errors. Nothing comes up at all, no gui or anything, dos looking window just opens and closes. Not sure what is wrong, any help is appreciated.
pyfpdb/fpdb.py:241: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
Traceback (most recent call last):
File "E:\pokerdata\num2\pyfpdb\fpdb.py", line 35, in <module>
import pygtk
ImportError: No module named pygtk
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This isn't the specific error I was getting but it's similar and I think a lot of these kinds of problems are going to boil down to the same thing:
an older GTK installation lying around somewhere on the system.
Windows finds the old GTK environment and tries to load fpdb on top of it. Since the libraries are older they don't contain all the required modules, etc.
I'm not sure what the best way is to diagnose and correct this problem for a typical end user.
People who are comfortable doing so can search their HD for the other GTK installations and delete them. Again, not 100% sure this even resolves this specific post.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I installed mysql and version 2.5 of pyt and the other library needed. Anyhow i try to run the program and it keeps giving me two errors. Nothing comes up at all, no gui or anything, dos looking window just opens and closes. Not sure what is wrong, any help is appreciated.
pyfpdb/fpdb.py:241: DeprecationWarning: use gtk.UIManager
self.item_factory = gtk.ItemFactory(gtk.MenuBar, "<main>", accel_group)
Traceback (most recent call last):
File "E:\pokerdata\num2\pyfpdb\fpdb.py", line 35, in <module>
import pygtk
ImportError: No module named pygtk
Thanks
This isn't the specific error I was getting but it's similar and I think a lot of these kinds of problems are going to boil down to the same thing:
an older GTK installation lying around somewhere on the system.
Windows finds the old GTK environment and tries to load fpdb on top of it. Since the libraries are older they don't contain all the required modules, etc.
I'm not sure what the best way is to diagnose and correct this problem for a typical end user.
People who are comfortable doing so can search their HD for the other GTK installations and delete them. Again, not 100% sure this even resolves this specific post.