1

I'm using GRASS GIS 7.0.3, the default python version is python2.7. I need python3.5 for my own module. After I edit the 'etc/env.bat' file to change GRASS_PYTHON and PYTHONHOME to the location of my new python .exe file and the new python directory. Then I run GRASS GIS, but I got the following error:

File "C:\Program Files\GRASS GIS 7.0.3\etc\grass70.py", line 251 os.makedir(tmpdir, 0700) SyntaxError: invalid token

enter image description here

Am I do it in the right way?

sophie_gis
  • 66
  • 1
  • 4
Rui Wang
  • 11
  • 3
  • Please always include errors as text rather than just pictures of errors. That way they are available to future searches. – PolyGeo Nov 02 '16 at 04:22

1 Answers1

3

From REQUIREMENTS to compile GRASS GIS 7

Python >= 2.6 (for temporal framework, scripts, wxGUI, and ctypes interface) Note: Python 3 support is still in development

and

gene
  • 54,868
  • 3
  • 110
  • 187
  • According to the last link, I modify the init.py "import core" to "import .core". I got error "no module named builtin". I think the idea is GRASS haven't support Python3 yet. – Rui Wang Nov 02 '16 at 20:13
  • yes --------------- – gene Nov 02 '16 at 20:45