I've just reinstalled python-wxversion package. This action added the file /usr/lib/python2.7/dist-packages/wx.pth
which is the part of the package but was missing on my computer. This may by some Ubuntu packaging problem (this would answer the question why other distributions are not affected). For me, it is solved. I don't know how to avoid this in the future. On 5 January 2013 13:07, Rashad M <[email protected]> wrote: > yes. g.gui works which confirms that python path is set somewhere in grass > startup script > Also configure can check for PYTHONPATH and then updates or sets the > wxPython path. I think this can be achieved using a simple sed/cut command > to check wx-VER-gtk2-unicode in dist-packages. The same PYTHONPATH settings > can saved for running grass modules too > > or Alternatively instead of touching PYTHONPATH we could stick to > GRASS_PYTHONPATH and do the same. It better not to depend on PYTHONPATH to > take care of wxPython dist-packages dir > Because I think that may cause trouble in future. Lets have a method to > detect and set wxPython packages path. > > I can provide a patch if everyone agrees it a better idea. > > BTW, Anyone experiencing problem in other linux distros as well > > On Sat, Jan 5, 2013 at 5:19 PM, Vaclav Petras <[email protected]> wrote: >> >> g.gui? > > > > > -- > Regards, > Rashad _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
