This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

HELP: Python/Tkinter/Cygwin


I'm trying to get the Pysol package to run under Cygwin (v1.3.1) and it seems to choking when Python tries to load the Tkinter package.
 
I get the following errors:
 
/d/pysol-4.71> ./pysol
Traceback (most recent call last):
  File "pysol.py", line 118, in ?
  File "/usr/lib/python2.1/lib-tk/Tkinter.py", line 35, in ?
    import _tkinter # If this fails your Python may not be configured for Tk
ImportError: No module named _tkinter
 
PySol cannot find the Tkinter Python libraries.
Please check your Python installation.
 
I can see that the tkinter files are loaded if I look in /usr/lib/python2.1/lib-tk however I believe that the problem is that there is no tkinter.dll file in /usr/lib/python2.1/lib-dynload and thus the import statement fails.
 
Anyone got tkinter to work (or better yet pysol) under cygnus?

==================================
Mike Campbell
Oracle Technical Support
Mike.Campbell@Oracle.com
 

 
BEGIN:VCARD
VERSION:2.1
N:Campbell;Michael;L
FN:Michael L Campbell
NICKNAME:Mike
TEL;WORK;VOICE:256-340-9863
TEL;HOME;VOICE:256-351-6306
TEL;PAGER;VOICE:888-878-1824
EMAIL;PREF;INTERNET:Mike.Campbell@oracle.com
REV:20010426T180013Z
END:VCARD

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]