Hi Yann, I've compiled python2.6.6 and installed on my user home. Then distclean and re-copile grass7 and it is working on my machine, as you can see:
GRASS 7.0.svn (nc_basic_spm_grass7):~ > python Python 2.6.6 (r266:84292, Jun 28 2013, 19:43:23) [GCC 4.8.1] on linux3 Type "help", "copyright", "credits" or "license" for more information. >>> from grass.pygrass.modules.shortcuts import raster as r >>> from grass.pygrass.modules.shortcuts import imagery as i >>> from grass.pygrass.modules.shortcuts import display as d >>> I don't know how can I help you to solve this problem... > Traceback (most recent call last): > File "/usr/lib64/python2.6/sre_compile.py", line 352, in _optimize_unicode > mapping = array.array('b', mapping).tostring() > TypeError: __new__() takes at most 2 arguments (3 given) As you can see the error is raised from the internal libraries of python... Maybe you can try re-compiling and installing python locally in your home... Best regards Pietro _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev