D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Python GUI

 

Neil,
Ok it's clear that wxpython is not on your python 2.5 path.
It seems you have gtk which the prerequisite.

I followed the instructions on:
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
(I had to do
sudo apt-get install curl
first)

and was then able to import wx

Give it a shot.
Gareth

Neil Winchurst wrote:
> On Wed, 07 Nov 2007 18:59:59 +0000
> Gareth Doutch <gareth.doutch@xxxxxxxxxxx> wrote:
>
>   
>> Neil,
>> in IDLE try doing:
>>
>> import sys
>> for p in sys.path:
>>     print p
>>
>> and check that wxpython is there
>>
>>
>>     
> Here is the output
>
> /home/neilwin
> /usr/bin
> /usr/lib/python25.zip
> /usr/lib/python2.5
> /usr/lib/python2.5/plat-linux2
> /usr/lib/python2.5/lib-tk
> /usr/lib/python2.5/lib-dynload
> /usr/local/lib/python2.5/site-packages
> /usr/lib/python2.5/site-packages
> /usr/lib/python2.5/site-packages/Numeric
> /usr/lib/python2.5/site-packages/PIL
> /usr/lib/python2.5/site-packages/cairo
> /var/lib/python-support/python2.5
> /usr/lib/python2.5/site-packages/gtk-2.0
> /var/lib/python-support/python2.5/gtk-2.0
>   
>
> As you can see, no mention of wxpython.
>
> Neil Winchurst
>
>   

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html