Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <007101c0ce7a$bf5b2f50$81ec1990@us.oracle.com> From: "Mike Campbell" To: Subject: HELP: Python/Tkinter/Cygwin Date: Thu, 26 Apr 2001 13:00:13 -0500 Organization: Oracle Corporation MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_006D_01C0CE50.D5475020" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 ------=_NextPart_000_006D_01C0CE50.D5475020 Content-Type: multipart/alternative; boundary="----=_NextPart_001_006E_01C0CE50.D5475020" ------=_NextPart_001_006E_01C0CE50.D5475020 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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? =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D Mike Campbell Oracle Technical Support Mike DOT Campbell AT Oracle DOT com ------=_NextPart_001_006E_01C0CE50.D5475020 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I'm trying to get the Pysol package to = run under=20 Cygwin (v1.3.1) and it seems to choking when Python tries to load the = Tkinter=20 package.
 
I get the following = errors:
 
/d/pysol-4.71> ./pysol
Traceback = (most recent=20 call last):
  File "pysol.py", line 118, in ?
  File=20 "/usr/lib/python2.1/lib-tk/Tkinter.py", line 35, in = ?
   =20 import _tkinter # If this fails your Python may not be configured for=20 Tk
ImportError: No module named _tkinter
 
PySol cannot find the Tkinter Python=20 libraries.
Please check your Python installation.
 
I can see that the tkinter files are = loaded if I=20 look in /usr/lib/python2.1/lib-tk however I believe that the problem is = that=20 there is no tkinter.dll file in /usr/lib/python2.1/lib-dynload and thus = the=20 import statement fails.
 
Anyone got tkinter to work (or better = yet pysol)=20 under cygnus?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Mike=20 Campbell
Oracle Technical Support
Mike DOT Campbell AT Oracle DOT com
 

 
------=_NextPart_001_006E_01C0CE50.D5475020-- ------=_NextPart_000_006D_01C0CE50.D5475020 Content-Type: text/x-vcard; name="Michael L Campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Michael L Campbell.vcf" 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 DOT Campbell AT oracle DOT com REV:20010426T180013Z END:VCARD ------=_NextPart_000_006D_01C0CE50.D5475020 Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple ------=_NextPart_000_006D_01C0CE50.D5475020--