Prometheus instrumentation library for Python applications
3.94k
stars
795
forks
source link
ModuleNotFoundError: No module named 'prometheus_client' when installing prometheus_client in a Python virtual env #1054
Closed
camilla-storytel closed 1 month ago
Hello all, I am trying to install
prometheus/client_python
locally and it is failing. Here is a minimal reproducible example (I am on Mac)python3 -m venv env
source env/bin/activate
pip install prometheus-client
Everything completes successfully
import prometheus_client
Could you please advise what is going wrong? I receive the same error after installing
prometheus-client
in a Docker container as well.