Browse Source

grass startup script

set GRASS_PYTHON to python3
Markus Metz 5 years ago
parent
commit
db9ef965b2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/init/grass.py

+ 2 - 2
lib/init/grass.py

@@ -654,9 +654,9 @@ def set_defaults():
     # GRASS_PYTHON
     if not os.getenv('GRASS_PYTHON'):
         if WINDOWS:
-            os.environ['GRASS_PYTHON'] = "python.exe"
+            os.environ['GRASS_PYTHON'] = "python3.exe"
         else:
-            os.environ['GRASS_PYTHON'] = "python"
+            os.environ['GRASS_PYTHON'] = "python3"
 
     # GRASS_GNUPLOT
     if not os.getenv('GRASS_GNUPLOT'):