[Tutor] WxPython

Stevenson Hickey st_hickey@hotmail.com
Mon, 9 Apr 2001 07:56:54 -0700


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C0C0CA.A4FACAC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I downloaded WxPython for Python 2.0 and installed it from the download =
just by clicking on it.  It seemed to install properly, but when I went =
to do the demo as instructed, I could not get it from Windows.  I went =
into Cygwin and went to the directory and typed "python demo.py".  This =
is the error message I got:

stevenson  hickey@HICKEY BOX /c/python21/s
$ python demo.py
Traceback (most recent call last):
  File "demo.py", line 3, in ?
    import Main
  File "Main.py", line 15, in ?
    from   wxPython.wx import *
ImportError: No module named wxPython.wx

When I did a search of my whole Python directory, I found no file named =
wxpython.wx. =20

I understand that this may mean that I have to compile wxpython from =
source code, but I don't understand why? =20
I am running Windows 98 on  a 400 Mhz PC with 64 Megs Ram.

Thanks for any help,

Stevenson Hickey



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.247 / Virus Database: 120 - Release Date: 4/6/2001

------=_NextPart_000_0014_01C0C0CA.A4FACAC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>I downloaded WxPython for Python 2.0 and installed it from the =
download=20
just by clicking on it.&nbsp; It seemed to install properly, but when I =
went to=20
do the demo as instructed, I could not get it from Windows.&nbsp; I went =
into=20
Cygwin and went to the directory and typed "python demo.py".&nbsp; This =
is the=20
error message I got:</DIV>
<DIV>&nbsp;</DIV>
<DIV>stevenson&nbsp; <A href=3D"mailto:hickey@HICKEY">hickey@HICKEY</A> =
BOX=20
/c/python21/s<BR>$ python demo.py<BR>Traceback (most recent call=20
last):<BR>&nbsp; File "demo.py", line 3, in ?<BR>&nbsp;&nbsp;&nbsp; =
import=20
Main<BR>&nbsp; File "Main.py", line 15, in ?<BR>&nbsp;&nbsp;&nbsp;=20
from&nbsp;&nbsp; wxPython.wx import *<BR>ImportError: No module named=20
wxPython.wx</DIV>
<DIV>&nbsp;</DIV>
<DIV>When I did a search of my whole Python directory, I found no file =
named=20
wxpython.wx.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>I understand that this may mean that I have to compile wxpython =
from source=20
code, but I don't understand why?&nbsp; <BR>I am running Windows 98 =
on&nbsp; a=20
400 Mhz PC with 64 Megs Ram.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for any help,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Stevenson Hickey<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV><BR>---<BR>Outgoing mail is certified Virus Free.<BR>Checked by AVG =

anti-virus system (<A=20
href=3D"http://www.grisoft.com">http://www.grisoft.com</A>).<BR>Version: =
6.0.247 /=20
Virus Database: 120 - Release Date: 4/6/2001</DIV></BODY></HTML>

------=_NextPart_000_0014_01C0C0CA.A4FACAC0--