Provide guidance for missing prometheus_client package.

pull/2100/head
derekpierre 2020-06-17 14:15:36 -04:00
parent 4dce1fccd0
commit 03ce710e48
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
try:
from prometheus_client import Gauge, Enum, Counter, Info, Histogram, Summary
except ImportError:
raise ImportError('prometheus_client is not installed - Install it and try again.')
raise ImportError('"prometheus_client" must be installed - run "pip install nucypher[ursula]" and try again.')
from abc import ABC, abstractmethod
from eth_typing.evm import ChecksumAddress

View File

@ -18,7 +18,7 @@
try:
from prometheus_client import Gauge, Enum, Counter, Info, Histogram, Summary
except ImportError:
raise ImportError('prometheus_client is not installed - Install it and try again.')
raise ImportError('"prometheus_client" must be installed - run "pip install nucypher[ursula]" and try again.')
from nucypher.utilities.prometheus.collector import (
MetricsCollector,