[GRASS-user] grass7.9.dev not finding wxPython

Markus Neteler neteler at osgeo.org
Wed Aug 14 11:48:40 PDT 2019


On Wed, Aug 14, 2019 at 8:41 PM Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
> Not long ago the latest build of grass from the github repo built and ran
> just fine. Today I tried to invoke grass -- with the wxPython GUI -- and it
> failed to find the widget library:
>
> $ grass7 -gui
> Starting GRASS GIS...
> WARNING: GRASS GUI not found. Please check your installation.
> Switching to text based interface mode.
>
> Hit RETURN to continue.
>
>
> Traceback (most recent call last):
>    File "/usr/local/bin/grass7", line 2204, in <module>
>      main()
>    File "/usr/local/bin/grass7", line 2134, in main
>      grass_gui=grass_gui)
>    File "/usr/local/bin/grass7", line 1370, in lock_mapset
>      ret = call([gpath("etc", "lock"), lockfile, "%d" % os.getpid()])
>    File "/usr/local/bin/grass7", line 233, in call
>      return subprocess.call(cmd, **kwargs)
>    File "/usr/lib64/python2.7/subprocess.py", line 172, in call

You try to use Python 2 while we require Python 3 unless you
search/replace the shebang using the find script posted some days ago.

>      return Popen(*popenargs, **kwargs).wait()
>    File "/usr/lib64/python2.7/subprocess.py", line 394, in __init__
>      errread, errwrite)
>    File "/usr/lib64/python2.7/subprocess.py", line 1047, in _execute_child
>      raise child_exception
> OSError: [Errno 2] No such file or directory
>
> Installed here is wxPython-3.0.2.0:
> /usr/doc/wxPython-3.0.2.0
> /usr/include/wx-3.0/wx/wxPython
>
> Suggestions?

AFAIK You miss still the standard Python 3.

Markus


More information about the grass-user mailing list