[GRASS-dev] [GRASS GIS] #2039: Startup Error

GRASS GIS trac at osgeo.org
Mon Jul 29 12:10:57 PDT 2013


#2039: Startup Error
----------------------+-----------------------------------------------------
 Reporter:  akdeakin  |       Owner:  grass-dev@…              
     Type:  defect    |      Status:  new                      
 Priority:  normal    |   Milestone:  6.4.4                    
Component:  Startup   |     Version:  6.4.3 RCs                
 Keywords:  wingrass  |    Platform:  MSWindows 7              
      Cpu:  x86-64    |  
----------------------+-----------------------------------------------------

Comment(by mlennert):

 Replying to [comment:8 neteler]:
 > Replying to [comment:6 helena]:
 > ...
 > > For the record, this is what my colleagues found (which indicates
 python version conflict with ArcGIS, already discussed on the list): GRASS
 7 needs Python 2.7.    I have several Python 2.7 installed on my machine,
 so we started looking at that.
 > > Now Richard has found that GRASS 7 works perfectly on Windows 7 and 8
 until ArcGIS 10.1 is installed.  Then, when ArcGIS 10.1 is installed,
 GRASS 7  exits immediately upon starting.  Actually, if you pause this
 jing video at 6 seconds, it shows 'importError: cannot import name
 MAXREPEAT'
 >
 > Perhaps this helps (http://grasswiki.osgeo.org/wiki/WinGRASS_errors):
 >
 > Q: Error message "!ImportError: cannot import name MAXREPEAT"
 >
 > A: A system-wide Python installation (2.7.2, independent of GRASS) may
 cause the trouble. Replacing this system-wide Python installation with
 version 2.7.4, instead of 2.7.2, solved the problem.

 Could someone check what exact version ArcGIS installs. I suspect < 2.7.4.

 Unfortunately, the Python launcher discussed in the thread Helmut points
 to in comment:7 seems to only take into account minor version numbers, but
 not revision numbers, so there does not seem to be a way to distinguish
 between two versions of 2.7 on the machine.

 Is it possible to uninstall the python installed by ESRI ?

 One option would probably be to delete the registry key entries of the
 ESRI Python version, install a more recent Python (e.g. 2.7.5) and install
 the Python launcher.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/2039#comment:9>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list