Repository navigation
Description
Fixed and verified. uv run eegprep-console --full now launches.
What was wrong
The command was wired correctly — it just failed at runtime with RuntimeError: PySide6 is required because the venv
hadn't been synced with the GUI/console dependencies. PySide6 and pyqtgraph (the gui extra, pulled in by console)
were missing; only IPython was present.
The fix
uv sync --extra console
This is exactly the path the error message already pointed to. It installs pyside6 6.11.0 and pyqtgraph 0.14.0. No
code or pyproject.toml changes were needed — gui/console are intentionally optional extras (PySide6 is heavy, and
the project deliberately keeps lean headless Linux-server installs working), so folding them into the dev group
would be wrong.
Verification
- The exact gui("full", …) window-construction path run_console uses builds an EEGPrepMainWindow successfully
(offscreen Qt). - The full binary launches end-to-end: prints the EEGPrep interactive console banner, enters the IPython shell, and
exits cleanly — no traceback. - Re-ran uv run eegprep-console --full afterward: PySide6 survives (uv run did not prune it), so the fix is durable
across invocations.
The --simple-prompt/event-loop notes you'd see in my test runs are only because I piped exit into stdin (non-tty);
they won't appear when you run it interactively in a real terminal.
✻ Cooked for 3m 7s
※ recap: Goal was to make uv run eegprep-console --full work. Fixed by running uv sync --extra console to install
the missing PySide6 and pyqtgraph dependencies; verified the console launches cleanly. Nothing left to do; the
command works now. (disable recaps in /config)
Activity
claude commentedon Jun 11, 2026
🤖 Plan:
Not actionable as a code change. Title says "do not create a PR for this", and the body confirms the root cause was an unsynced venv (missing
PySide6/pyqtgraphfrom theconsoleextra), resolved byuv sync --extra console— explicitly noting "No code or pyproject.toml changes were needed". The console/gui extras are intentionally optional per the project (heavy PySide6, lean headless installs).No PR opened. Closing as no-op unless a maintainer wants follow-up such as a clearer error message or a docs note pointing users to
uv sync --extra consolewhen theRuntimeError: PySide6 is requiredis raised.suraj-ranganath commentedon Jun 12, 2026
🤖 Follow-up PR opened because the fresh source-checkout path still required undocumented dependency knowledge. #199 keeps published lean installs unchanged, but adds IPython/PySide6/pyqtgraph to the default dev sync so
uv run eegprep-console --fullworks after cloning with uv. Verified with a throwawayUV_PROJECT_ENVIRONMENTlaunch smoke.[-]GUI issue -- do not create a PR for this[/-][+]GUI issue[/+]