[GRASS-user] wxPython cannot find installed module

Anna Petrášová kratochanna at gmail.com
Mon May 1 10:35:59 PDT 2023


When you run GRASS, go to terminal, type "python", press Enter and look
what the version of Python you use:

GRASS nc_spm_08_grass7/testpatch:~ > python
Python 3.8.10 (default, Mar 13 2023, 10:26:41)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> np.version.version
'1.17.4'


or in the GUI, go to Python shell tab, look at the Python version, and try
importing numpy

On Mon, May 1, 2023 at 12:43 PM Rich Shepard <rshepard at appl-ecosys.com>
wrote:

> On Mon, 1 May 2023, Anna Petrášová wrote:
>
> > You are likely using Python 3 already. Why don't you try to see which one
> > you use as I suggested?
>
> >> Apparenly so. My Slackware64-15.0 includes python2-2.7.18,
> >> python3-3.9.10, and python3-numpy-1.22.3. No python2-numpy.
>
> Anna, As I wrote: python3-3.9.10 and python3-numpy-1.22.3 are installed,
> along with python2 and the last python2-numpy.
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20230501/1677072d/attachment.htm>


More information about the grass-user mailing list