Author Topic: Python Import Pygtk  (Read 3539 times)

eddiectc

  • Newbie
  • *
  • Posts: 46
    • View Profile
Python Import Pygtk
« on: January 04, 2006, 04:43:39 am »
i've installed pygtk
and now trying to write some python script to play around

however, while import pygtk, it generates an error: No module named fnmatch
do i miss some ipkgs??

Quote
>>> import pygtk
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/home/sash/Work/Tosa/pdaXrom-builder/build/pygtk-2.5.3/ipkg_tmp/usr/lib/python2.4/site-packages/pygtk.py", line 22, in ?
ImportError: No module named fnmatch

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Python Import Pygtk
« Reply #1 on: January 04, 2006, 05:07:34 am »
fnmatch seems to be in python-shell_2.4.1_armv5tel.ipk
SLC-860 cacko / senao wifi

eddiectc

  • Newbie
  • *
  • Posts: 46
    • View Profile
Python Import Pygtk
« Reply #2 on: January 04, 2006, 05:15:36 am »
Quote
fnmatch seems to be in python-shell_2.4.1_armv5tel.ipk
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109470\"][{POST_SNAPBACK}][/a][/div]

got it!
solved!
thanks!