[GRASS-user] grass73: python module name issue

Rich Shepard rshepard at appl-ecosys.com
Tue Sep 6 17:12:11 PDT 2016


On Tue, 6 Sep 2016, Anna Petrášová wrote:

> The import happens in gui_core/wxlibplot.py,

# Needs NumPy
try:
     import numpy as np

   Therefore, this should work.

>  wxplot/profile.py,

try:
     import numpy

   Therefore, this also should work.

> and nviz/wxnvix.py

try:
     from numpy import matrix

   And, this too should work.

> if you want to investigate more.

   All three modules call for numpy (lowercase). That's how it's imported
here both within the grass console and a non-grass console.

   What do you suggest as further investigation why the error message appears
when I invoke grass?

Rich




More information about the grass-user mailing list