Opened 13 days ago

Last modified 13 days ago

#69774 assigned defect

grass: GUI doesn't work: No module named 'wx'

Reported by: pawleeq Owned by: nilason (Nicklas Larsson)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: grass-gui grass

Description

After installation

sudo port install grass grass-gui

grass starts up the shell and says

Launching <wxpython> GUI in the background, please wait...
Restored session: Thu Apr 18 09:20:42 CEST 2024
ERROR: wxGUI requires wxPython. No module named 'wx'

Change History (2)

comment:1 Changed 13 days ago by jmroot (Joshua Root)

Keywords: wxpython removed
Owner: set to nilason
Port: grass-gui added
Status: newassigned
Summary: GUI doesn't workgrass: GUI doesn't work: No module named 'wx'

comment:2 Changed 13 days ago by nilason (Nicklas Larsson)

There is no wxPython subport for Python 3.12 (yet). This is where the problem starts. If you want grass-gui you need to install grass with +python311 variant (the default Python variant is with 3.12).

There is a check for this, to keep the ports grass and grass-gui in sync in relation to Python version. Obviously, that check need a revision.

Note: See TracTickets for help on using tickets.