[GRASS-user] grass-7.9 does not find numpy

Rich Shepard rshepard at appl-ecosys.com
Thu Aug 15 11:12:43 PDT 2019


Starting grass-7.9 in a new location and mapset fails:

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 (http://numpy.scipy.org) for information on downloading source or binaries.
Traceback (most recent call last):
   File "/usr/local/grass79/gui/wxpython/wxgui.py", line 172, in <module>
     sys.exit(main())
   File "/usr/local/grass79/gui/wxpython/wxgui.py", line 159, in main
     app = GMApp(workspaceFile)
   File "/usr/local/grass79/gui/wxpython/wxgui.py", line 53, in __init__
     wx.App.__init__(self, False)
   File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
     self._BootstrapApp()
   File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
     return _core_.PyApp__BootstrapApp(*args, **kwargs)
   File "/usr/local/grass79/gui/wxpython/wxgui.py", line 104, in OnInit
     from lmgr.frame import GMFrame
   File "/usr/local/grass79/gui/wxpython/lmgr/frame.py", line 51, in <module>
     from lmgr.layertree import LayerTree, LMIcons
   File "/usr/local/grass79/gui/wxpython/lmgr/layertree.py", line 40, in <module>
     from wxplot.histogram import HistogramPlotFrame
   File "/usr/local/grass79/gui/wxpython/wxplot/histogram.py", line 23, in <module>
     import gui_core.wxlibplot as plot
   File "/usr/local/grass79/gui/wxpython/gui_core/wxlibplot.py", line 121, in <module>
     import numpy as np
ImportError: No module named numpy

Numpy is installed (by pip) in /usr/lib64/python3.7/site-packages/.

Please advise me how to make this installation visible to wxnviz.

Regards,

Rich



More information about the grass-user mailing list