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

Markus Metz markus.metz.giswork at gmail.com
Thu Aug 15 14:11:26 PDT 2019


On Thu, Aug 15, 2019 at 10:50 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:
>
> 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:

the grass startup script was not updated to enforce python3, fixed in
master 83ba584e

git pull && make
should help

Markus M

>
> $ 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20190815/2e4be2c0/attachment.html>


More information about the grass-user mailing list