You may want to change the default Python on your system.
On Mon, May 1, 2023 at 2:14 PM Rich Shepard
wrote:
> On Mon, 1 May 2023, Anna Petrášová wrote:
>
> > There is GRASS_PYTHON:
> > https://grass.osgeo.org/grass82/manuals/variables.html
> >
> > But I have never used it myself. Note that we d
On Mon, 1 May 2023, Anna Petrášová wrote:
There is GRASS_PYTHON:
https://grass.osgeo.org/grass82/manuals/variables.html
But I have never used it myself. Note that we don't support Python 2
anymore.
Anna,
Then I wonder why this clean 15.0 installation on the ThinkPad didn't
automatically use
There is GRASS_PYTHON:
https://grass.osgeo.org/grass82/manuals/variables.html
But I have never used it myself. Note that we don't support Python 2
anymore.
On Mon, May 1, 2023 at 1:42 PM Rich Shepard
wrote:
> On Mon, 1 May 2023, Anna Petrášová wrote:
>
> > When you run GRASS, go to terminal, ty
On Mon, 1 May 2023, Anna Petrášová wrote:
When you run GRASS, go to terminal, type "python", press Enter and look
what the version of Python you use:
Anna,
It's the 2.7.18 version. Is there a configuration file in which I can
specify python3?
Regards,
Rich
__
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.
>>> imp
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
You are likely using Python 3 already. Why don't you try to see which one
you use as I suggested?
On Mon, May 1, 2023 at 11:42 AM Rich Shepard
wrote:
> On Mon, 1 May 2023, Anna Petrášová wrote:
>
> > The error comes from this:
> > from numpy import matrix
>
> > Is it possible you have different
On Mon, 1 May 2023, Anna Petrášová wrote:
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.
Anna,
App
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
wrote:
> I