소스 검색

grass startup script

set GRASS_PYTHON to python3
Markus Metz 5 년 전
부모
커밋
db9ef965b2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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'):