You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The problem occurs when installing Glances through Homebrew on macOS: essential dependencies required for running Glances in web server mode (glances -w) are not installed automatically. When trying to start web mode, an import error appears because FastAPI, Uvicorn, and Jinja2 are missing. This requires manual installation of these dependencies in the specific Python environment Glances uses, which should ideally be handled during installation.
To Reproduce
Install Glances via Homebrew:
brew install glances
Try starting Glances in web server mode:
glances -w
You will encounter an error similar to:
FastAPI import error: No module named 'fastapi'
Glances cannot start in web server mode.
Expected behavior
Glances should automatically install the necessary dependencies for web mode (fastapi, uvicorn, jinja2) when using brew install glances so that glances -w runs without error after installation.
Environement (please complete the following information)
Operating System (lsb_release -a or OS name/version):
@nicolargo, thank you for the quick response! Apologies for opening the duplicate issues (I didn’t check the closed tickets, as the bug didn’t seem to be fixed).
Describe the bug
The problem occurs when installing Glances through Homebrew on macOS: essential dependencies required for running Glances in web server mode (glances -w) are not installed automatically. When trying to start web mode, an import error appears because FastAPI, Uvicorn, and Jinja2 are missing. This requires manual installation of these dependencies in the specific Python environment Glances uses, which should ideally be handled during installation.
To Reproduce
Expected behavior
Glances should automatically install the necessary dependencies for web mode (fastapi, uvicorn, jinja2) when using brew install glances so that glances -w runs without error after installation.
Environement (please complete the following information)
To be completed with result of: glances -V
To be completed
To be completed with result of: glances --issue
The text was updated successfully, but these errors were encountered: