[GRASSGUI] wxgrass does not see wx on import

Daniel Calvelo dca.gis at gmail.com
Thu May 17 23:18:26 EDT 2007


Try to

export PYTHONPATH=/path/to/your/local/copy/of/wxPython

before running wxgrass.

Daniel.

BTW if under Debian, try to add this to /etc/apt/sources.list :

deb http://wxpython.wxcomunity.com/apt/ubuntu/dapper /

It works perfectly for me under Debian unstable.

On 5/17/07, Yann <yann.chemin at gmail.com> wrote:
> Hi,
>
> System: Debian unstable (from Kanotix originally)
>
> - installed wxgtk2.6, had a problem, wxgrass could not find wx.combo.
>
> - compiled from source wxpython2.8.0
> (./configure --prefix=/usr --enable-combobox --with-gtk --with-gnomeprint --with-opengl --enable-geometry --enable-display ;
> make ; make install)
>
> - wxgrass does not find wx
> -----------------------------------------------------------------
> GRASS 6.3.cvs (biwago):~ > wxgrass
> Traceback (most recent call last):
>   File "/usr/local/grass-6.3.cvs/etc/wx/wxgui.py", line 11, in ?
>     import wx
> ImportError: No module named wx
> ----------------------------------------------------------------
>
> Anybody can tell me the missing link to make the new wx visible to python?
>
> Thank you,
> Yann
>
> --
> Yann Chemin
> Sainte-Anne d'Auray, France
>
> _______________________________________________
> grassgui mailing list
> grassgui at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassgui
>


-- 
-- Daniel Calvelo Aros




More information about the grass-gui mailing list