Replies: 3 comments 1 reply
-
Hi @ryan-efendy I am a little bit confuse. When you start Python from the command line, it said that the version 3.9.7 is running. When Glances starts, Python version 3.10.0 is used. I think that your system hosts 2 Python version and the version 3.10.0 used by Glances do not have the Bottle Lib installed... |
Beta Was this translation helpful? Give feedback.
-
Hey @nicolargo sorry about that yes apparently I did have two different python version (3.9 & 3.10) installed via brew. I uninstalled both of them via brew and installed pyevn and install the latest python which is 3.10.
But I'm still getting the same error:
any suggestion or recommendation here? |
Beta Was this translation helpful? Give feedback.
-
I asked ChatGPT and this is the answer i got. To be noted is that i have yet to try this To install the Bottle module on your MacBook Pro, you can follow these steps: Open your terminal application by going to Applications > Utilities > Terminal, or by using the Spotlight search (Command + Space) and searching for "Terminal". Once you have the terminal open, type the following command to install pip, which is a package manager for Python:
Once pip is installed, you can use it to install Bottle by running the following command:
Save this script to a file on your computer (e.g. ~/test.py), and then run it in your terminal by typing:
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
I installed glances via brew
brew install glances
I have bottle module installed
but I'm still getting the below error when I run glances on web server mode
Showing below that I have bottle installed
Here's the Log file:
/Users/ryanefendy/.local/share/glances/glances.log
One thing I'm wondering is these two files doesn't exit is that normal/to be expected?
/Users/ryanefendy/Library/Application Support/glances/glances.conf
/usr/local/etc/glances/glances.conf
Beta Was this translation helpful? Give feedback.
All reactions