I attempted to install GRASS GIS 7 on ubuntu 14.04 using these instructions.
When I call grass70 from the command line I get a welcome message and a prompt to continue. I then get two error messages:
Traceback (most recent call last): File "/usr/lib/grass70/gui/wxpython/gis_set.py", line 31, in from core import globalvar File "/usr/lib/grass70/gui/wxpython/core/globalvar.py", line 29, in from core.debug import Debug File "/usr/lib/grass70/gui/wxpython/core/debug.py", line 25, in import grass.script as grass File "/usr/lib/grass70/etc/python/grass/script/__init__.py", line 5, in from db import *ImportError: No module named 'db'which says there is an error in the GUI startup, switching to text-mode and then
File "/usr/lib/grass70/bin/grass70", line 251 os.mkdir(tmpdir, 0700) ^SyntaxError: invalid tokenwhich leaves me back in the bash shell.
Does anybody have some advice on what could be going wrong and how it could be fixed?
UPDATE: I installed the Grass7 stable version that has just been released using the following:
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstablesudo add-apt-repository ppa:grass/grass-stablesudo apt-get updatesudo apt-get install grass7I still get the ImportError: No module named 'db'.
There is a module called db.py in the path /usr/lib/grass70/etc/python/grass/script/.
/usr/bin/python --version outputs Python 2.7.8 but python --version outputs Python 3.4.2 :: Anaconda 2.1.0 (64-bit).
أكثر...
When I call grass70 from the command line I get a welcome message and a prompt to continue. I then get two error messages:
Traceback (most recent call last): File "/usr/lib/grass70/gui/wxpython/gis_set.py", line 31, in from core import globalvar File "/usr/lib/grass70/gui/wxpython/core/globalvar.py", line 29, in from core.debug import Debug File "/usr/lib/grass70/gui/wxpython/core/debug.py", line 25, in import grass.script as grass File "/usr/lib/grass70/etc/python/grass/script/__init__.py", line 5, in from db import *ImportError: No module named 'db'which says there is an error in the GUI startup, switching to text-mode and then
File "/usr/lib/grass70/bin/grass70", line 251 os.mkdir(tmpdir, 0700) ^SyntaxError: invalid tokenwhich leaves me back in the bash shell.
Does anybody have some advice on what could be going wrong and how it could be fixed?
UPDATE: I installed the Grass7 stable version that has just been released using the following:
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstablesudo add-apt-repository ppa:grass/grass-stablesudo apt-get updatesudo apt-get install grass7I still get the ImportError: No module named 'db'.
There is a module called db.py in the path /usr/lib/grass70/etc/python/grass/script/.
/usr/bin/python --version outputs Python 2.7.8 but python --version outputs Python 3.4.2 :: Anaconda 2.1.0 (64-bit).
أكثر...