<div dir="ltr">Dear dev-list,<div><br></div><div> I've got an Ubuntu 12.04 workstation on which I have been experimenting with python for scientific computing (e.g., ipython notebook, spyder, etc.). During this process, I experimented with a lot of different python modules, installed variously with apt-get or with pip. Before this experimentation, GRASS 6.4.3-1 (from Ubuntu GIS-unstable PPA) was working just fine, but now I am getting the following error upon start of GRASS:</div>
<div><br></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div>> wxnviz.py: This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site (<a href="http://numpy.scipy.org">http://numpy.scipy.org</a>) for information on downloading source or binaries.</div>
</div><div><div>Traceback (most recent call last):</div></div><div><div> File "/usr/lib/grass64/etc/wxpython/wxgui.py", line 34, in <module></div></div><div><div> from lmgr.frame import GMFrame</div></div>
<div><div> File "/usr/lib/grass64/etc/wxpython/lmgr/frame.py", line 46, in <module></div></div><div><div> from lmgr.layertree import LayerTree, LMIcons</div></div><div><div> File "/usr/lib/grass64/etc/wxpython/lmgr/layertree.py", line 37, in <module></div>
</div><div><div> from mapdisp.frame import MapFrame</div></div><div><div> File "/usr/lib/grass64/etc/wxpython/mapdisp/frame.py", line 52, in <module></div></div><div><div> from wxplot.profile import ProfileFrame</div>
</div><div><div> File "/usr/lib/grass64/etc/wxpython/wxplot/profile.py", line 23, in <module></div></div><div><div> import wx.lib.plot as plot</div></div><div><div> File "/usr/lib64/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/plot.py", line 523, in <module></div>
</div><div><div> class PlotCanvas(wx.Panel):</div></div><div><div> File "/usr/lib64/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/lib/plot.py", line 1817, in PlotCanvas</div></div><div><div> _multiples = [(2., _Numeric.log10(2.)), (5., _Numeric.log10(5.))]</div>
</div><div><div>AttributeError: 'module' object has no attribute 'log10'</div></div></blockquote><div><div><br></div><div> Obviously, this is an issue with only the wxpython interface (cli still works, as does old tcltk interface), and although the error stems from wxNVIZ, I think it is due to GRASS being confused about where to find NumPy... I've tried to "clean up" my python installs, including reinstalling both python 2.6 and 2.7, NumPy, SciPy, and wxWidgets (both 2.6 and 2.7). I've also reinstalled GRASS (and tried the older version of 6.4 in the standard Ubuntu repository), but this error still stands. Any ideas about what I can do to fix it? </div>
<div><br></div><div>Many thanks for any help offered!</div>-- <br><div dir="ltr">Isaac I Ullah, Ph.D.<br><br>***************************************************<br><a href="mailto:isaac.ullah@asu.edu" target="_blank">isaac.ullah@asu.edu</a><br>
<a href="mailto:ullah@archaeologist.com" target="_blank">ullah@archaeologist.com</a><br><br><a href="http://www.public.asu.edu/~iullah" target="_blank">http://www.public.asu.edu/~iullah</a><br>***************************************************</div>
</div></div>