Replies: 1 comment
|
Hi @burnsjake the message is clear: ModuleNotFoundError: No module named 'influxdb_client_3' The InfluxDB Python lib is not installed on your system. How do you install Glances ? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
My glances.conf has only a [influxbd3] stanza.
I have tried package based glances installation and made sure the python influxdb client package is installed.
I have tried installing glances and the influxdb3 client via pip as well. I only copied the influxdb3 export config stanza from a sample glances conf and replaced my token with and admin token that I verified does work.
I keep getting the following:
glances -C ./glances.conf --export influxdb3
Traceback (most recent call last):
File "/usr/bin/glances", line 8, in
sys.exit(main())
~~~~^^
File "/usr/lib/python3.14/site-packages/glances/init.py", line 190, in main
start(config=core.get_config(), args=core.get_args())
~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/glances/init.py", line 149, in start
mode = GlancesMode(config=config, args=args)
File "/usr/lib/python3.14/site-packages/glances/standalone.py", line 42, in init
self.stats = GlancesStats(config=config, args=args)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/glances/stats.py", line 39, in init
self.load_modules(self.args)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/glances/stats.py", line 90, in load_modules
self.load_exports(args=args)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.14/site-packages/glances/stats.py", line 225, in load_exports
export_module = import_module(item)
File "/usr/lib/python3.14/importlib/init.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1398, in _gcd_import
File "", line 1371, in _find_and_load
File "", line 1342, in _find_and_load_unlocked
File "", line 938, in _load_unlocked
File "", line 759, in exec_module
File "", line 491, in _call_with_frames_removed
File "/usr/lib/python3.14/site-packages/glances/exports/glances_influxdb3/init.py", line 14, in
from influxdb_client_3 import InfluxDBClient3
ModuleNotFoundError: No module named 'influxdb_client_3'
I have triple checked that the influxdb python client is installed:
$ python
Python 3.14.3 (main, Feb 10 2026, 19:44:45) [GCC 14.2.1 20250405] on linux
Type "help", "copyright", "credits" or "license" for more information.
What do I need to do with glances to get it to export to influxdb3?
All reactions