<div dir="ltr">Thanks for all of the great pointers. Updating Python3 to version 3.9.2 made it possible for me to build GRASS finally.<div><br></div><div>A couple of small issues now have me slightly puzzled:</div><div><br></div><div>1) when I ran "grass79", the GUI popped up just fine the first time. However, the GUI did not entirely fit the screen (I can't see the bottom of the GUI, where the "start GRASS" button is). I am running a Debian Linux virtual machine (via virtualbox).</div><div>2) for some reason, I am now getting a new error whereby the GUI no longer pops up: "wxnviz.py: No module named grass.lib.ogsf" followed by "No such file or directory: /usr/local/grass79/gui/wxpython/xml/menudata.xml". I checked and I do have the /usr/local/grass79/gui/wxpython/xml directory with lots of files but not that one.</div><div><br></div><div>Any ideas greatly appreciated. </div><div><br></div><div>(Note; when the GUI did work the first time, I used the GRASS download capability to obtain the North Carolina dataset, Can't wait to visualize the weather dataset contained therein.)</div><div><br></div><div>Best regards,</div><div>Steve</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 27, 2021 at 4:25 AM Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be">mlennert@club.worldonline.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Actually, the trailing comma after **kwargs is a feature introduced in recent Python 3 versions. It was recently introduced into our code through Black [1].<br>
<br>
So, make sure you have Python 3.6+ installed on your system and that this is the Python version called during compilation.<br>
<br>
Moritz<br>
<br>
[1] <a href="https://github.com/OSGeo/grass/pull/1382" rel="noreferrer" target="_blank">https://github.com/OSGeo/grass/pull/1382</a><br>
<br>
Am 27. März 2021 11:07:02 MEZ schrieb Moritz Lennert <<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>>:<br>
><br>
><br>
>Am 26. März 2021 23:13:18 MEZ schrieb Stephen Kirby <<a href="mailto:thinjogger@gmail.com" target="_blank">thinjogger@gmail.com</a>>:<br>
>>Thanks Veronica for that good information. I've made some progress by<br>
>>ensuring I had the libs it needs ready (GDAL, etc.). Now it is giving me a<br>
>>Python error :<br>
>><br>
>> File<br>
>>"/home/me/grass/dist.x86_64-pc-linux-gnu/etc/python/grass/script/core.py",<br>
>>line 305,<br>
>>**options,<br>
>>SyntaxError: invalid syntax<br>
>><br>
>>I am not a Python user so this is throwing me. I assume I need to install<br>
>>a Python (Python3?) module, via "pip install ..." I suppose. Can someone<br>
>>tell me which module can fix this?<br>
>><br>
>>For reference, the whole Python block of code containing the offending<br>
>>line, from core.py is:<br>
>>def make_command(<br>
>> prog,<br>
>> flags="",<br>
>> overwrite=False,<br>
>> quiet=False,<br>
>> verbose=False,<br>
>> superquiet=False,<br>
>> errors=None,<br>
>> **options,<br>
>>);<br>
><br>
><br>
>AFAICT there should not be a comma after **options. This would explain the syntax error.<br>
><br>
>Moritz<br>
>_______________________________________________<br>
>grass-user mailing list<br>
><a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
><a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div>