Hi, since the installation of the prometheus_client prometheus_client-0.20.0.tar.gz needed for the Solaris_exporter under Sparc Solaris 11.64 I allways got the following error while try to start prometheus_client SMF Service :
ModuleNotFoundError: No module named 'prometheus_client.core' Anybody out there who could help me to solve this problem? $ sudo pip-3.9 install prometheus_client-0.20.0.tar.gz Processing ./prometheus_client-0.20.0.tar.gz Preparing metadata (setup.py) ... done Installing collected packages: prometheus-client DEPRECATION: prometheus-client is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for prometheus-client ... done Successfully installed prometheus-client-0.20.0 WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv $ File "/lib/svc/manifest/site/solaris_exporter-master/solaris_exporter.py", line 133, in <module> from prometheus_client.core import REGISTRY, Counter, Gauge, GaugeMetricFamily, CounterMetricFamily, UntypedMetricFamily ModuleNotFoundError: No module named 'prometheus_client.core' [ 2024 Jun 24 10:15:33 Stopping because all processes in service exited. ] [ 2024 Jun 24 10:15:33 Executing start method ("/usr/bin/python2.7 /lib/svc/manifest/site/solaris_exporter-master/solaris_exporter.py"). ] [ 2024 Jun 24 10:15:33 Environment variable "LC_ALL=" already set. ] ~$ Cheers Stefan -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bb74dc9f-d257-431c-b50d-dbbd43c17483n%40googlegroups.com.

