[GRASS-user] wxPython cannot find installed module

I started grass with the wxGUI. It loaded but the v.t. displayed this
message:

Launching <wxpython> GUI in the background, please wait... GRASS
Oregon_North_State_Plane_ft/PERMANENT:
~ > 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.

Installed here: python3-numpy-1.22.3-x86_64-1_SBo

Is there a way to let wxnviz.py know that numpy is installed, or should I
just ignore it?

Rich

The error comes from this:

from numpy import matrix

Is it possible you have different Python installations on your computer? Try running a python shell from an active GRASS session and running the import command and see what it gives you.

On Fri, Apr 28, 2023 at 6:14 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:

I started grass with the wxGUI. It loaded but the v.t. displayed this
message:

Launching GUI in the background, please wait… GRASS
Oregon_North_State_Plane_ft/PERMANENT:
~ > 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.

Installed here: python3-numpy-1.22.3-x86_64-1_SBo

Is there a way to let wxnviz.py know that numpy is installed, or should I
just ignore it?

Rich


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user