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 <[email protected]>
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
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to