wxPython on Debian?
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Jun 16 16:17:11 UTC 2005
On Thu, Jun 16, 2005 at 12:07:25PM -0400, William O'Higgins wrote:
> The error is this:
>
> ImportError: No module named wxPython
>
> or:
>
> ImportError: No module named wx
>
> Depending if I call the module as "from wxPython import wx" or "import
> wx". Since I've got an up to date "testing" system and I only installed
> the various recommended components today, I don't think it's a version
> problem.
Try this:
apt-get install wxwin2.4-examples libwxgtk2.4-python
cd /tmp
cp -a /usr/share/doc/wxwin2.4-examples/examples/wxPython .
cd wxPython
for i in *gz; do gunzip $i; done
./demo.py
If that works, enjoy and you have some working examples of how it should
be used. It works here using Debian Sarge.
It looks like they just use: import wx
Lennart Sorensen
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list