This page covers the errors most frequently encountered when installing or running amongGX, along with step-by-step fixes for each one.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Ulto85/amongGX/llms.txt
Use this file to discover all available pages before exploring further.
If your issue is not covered on this page, please open a ticket on the
GitHub issues page so it can be tracked
and fixed upstream.
ModuleNotFoundError: No module named 'PyQt5'
ModuleNotFoundError: No module named 'PyQt5'
PyQt5 is not installed in your current Python environment. Install it with pip:If you are using a virtual environment, make sure it is activated before running the command. On some Linux distributions the system Python package manager must be used instead:After installation, verify the import works before launching the browser:
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'
QtWebEngineWidgets ships in a separate package called PyQtWebEngine on most platforms and is not automatically installed alongside PyQt5.Blank or white window on Linux
Blank or white window on Linux
Qt WebEngine relies on OpenGL to render pages. A blank or entirely white window on Linux usually means one of the following:
-
Missing OpenGL / Mesa drivers — Install the required libraries:
-
XCB OpenGL integration conflict — Disable the XCB GL integration before launching:
-
Missing
libxcbplatform plugins — Ensure the fulllibxcbstack is present:
"could not connect to display" error
"could not connect to display" error
amongGX is a graphical desktop application built on PyQt5 and requires a running display server. This error means Qt cannot find one.
| Environment | Solution |
|---|---|
| Linux desktop (X11) | Ensure you are running from a terminal inside your graphical session, not over a bare SSH connection. |
| Linux with Wayland | Set QT_QPA_PLATFORM=wayland before running, or install libqt5waylandclient5. |
| Headless server / CI | Forward X11 over SSH (ssh -X) or use a virtual display: Xvfb :99 -screen 0 1280x800x24 & DISPLAY=:99 python browser.py |
| Windows / macOS | This error should not appear; ensure no conflicting DISPLAY environment variable is set. |
URL bar not navigating to a new page
URL bar not navigating to a new page
Home button goes to a blank or error page
Home button goes to a blank or error page
Window does not maximize on launch
Window does not maximize on launch
The line that starts the browser maximized exists in To start the window in a maximized state, uncomment
browser.py but is commented out:showMaximized() and remove (or comment out) the plain show() call directly below it:showMaximized() implicitly shows the window, so self.show() is not needed when it is present.