Opened 7 months ago

Last modified 5 months 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: cooljeanius (Eric Gallager)
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 (3)

comment:1 Changed 7 months 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 7 months 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.

comment:3 Changed 5 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.