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

Rich Shepard rshepard at appl-ecosys.com
Thu Aug 15 13:50:05 PDT 2019


On Thu, 15 Aug 2019, Markus Metz wrote:

> but the gui is looking in /usr/lib64/python2.7/site-packages/
> -> wrong python version
> make sure wxpython for python3 is installed, make distclean, configure, make

Markus M,

Now, wxPython-4.0.4 is installed and visible in
/usr/lib64/python3.7/site-packages/ but a rebuilt/reinstalled grass79 still
cannot find it:

$ grass79 
Starting GRASS GIS...
ERROR: wxGUI requires wxPython. No module named wx
You can still use GRASS GIS modules in the command line or in Python.
ERROR: Error in GUI startup. See messages above (if any) and if necessary, please report this error to the GRASS developers.
On systems with package manager, make sure you have the right GUI package, probably named grass-gui, installed.
To run GRASS GIS in text mode use the --text flag.
Use '--help' for further options
      grass79 --help
See also: https://grass.osgeo.org/grass79/manuals/helptext.html
Exiting...

'wx' is found in several places:

# find / -name wx 
/usr/include/wx-3.0/wx
/usr/include/wx-2.8/wx
/usr/lib64/python3.7/site-packages/wx
/usr/lib64/wx
/usr/lib64/wx/include/gtk2-unicode-release-2.8/wx
/usr/lib64/wx/include/gtk2-unicode-3.0/wx
/home/rshepard/.grass7/wx

Could grass be looking for wxPython rather than wxPython4?

Regards,

Rich


More information about the grass-user mailing list