[GRASS-dev] GRASS on Mac

Luca Delucchi lucadeluge at gmail.com
Tue Jul 11 08:59:08 PDT 2017


On 10 July 2017 at 14:27, Rainer Krug <rainer_krug at icloud.com> wrote:
>
>
>        If --debug (or -d) is passed and brewing fails, open an interactive
> debugging
>        session with access to IRB or a shell inside the temporary build
> directory.Then when the error occurs, you can drop
>

I run with -d flag and I got this

Traceback (most recent call last):
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/scripts/t.vect.univar",
line 71, in <module>
    import grass.temporal as tgis
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/temporal/__init__.py",
line 3, in <module>
    from .core import *
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/temporal/core.py",
line 45, in <module>
    from .c_libraries_interface import *
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/temporal/c_libraries_interface.py",
line 28, in <module>
    from grass.pygrass.rpc.base import RPCServerBase
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/pygrass/rpc/__init__.py",
line 21, in <module>
    from grass.pygrass.vector import *
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/pygrass/vector/__init__.py",
line 13, in <module>
    from grass.pygrass.vector.vector_type import VTYPE
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/pygrass/vector/vector_type.py",
line 9, in <module>
    from grass.pygrass.vector import geometry as geo
  File "/private/tmp/grass7-20170711-8857-kgp90p/grass-7.2.0/dist.x86_64-apple-darwin15.6.0/etc/python/grass/pygrass/vector/geometry.py",
line 12, in <module>
    import numpy as np
ImportError: No module named numpy
make[1]: *** [t.vect.observe.strds.tmp.html] Error 1
rm t.vect.observe.strds.tmp.html
make[1]: *** [t.vect.import.tmp.html] Error 1
rm t.vect.import.tmp.html
make[1]: *** [t.vect.what.strds.tmp.html] Error 1
rm t.vect.what.strds.tmp.html
make[1]: *** [t.vect.univar.tmp.html] Error 1
rm t.vect.univar.tmp.html
bash-3.2$ python
Python 2.7.13 (default, Jul  3 2017, 10:42:44)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named numpy
>>>

it seems that the Python version that we are using has no numpy, how
and where should I have to install it?


-- 
ciao
Luca

www.lucadelu.org


More information about the grass-dev mailing list