Closed gromdimon closed 3 hours ago
Hi @gromdimon
i close this issue because it is duplicated as https://github.com/nicolargo/glances/discussions/3012
@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).
No problem. Hope thé bug will be fixed by the package manager.
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:
Try starting Glances in web server mode:
You will encounter an error similar to:
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