diff --git a/requirements/debug.txt b/requirements/debug.txt index 3c0e713aeda..0c64232c9a9 100644 --- a/requirements/debug.txt +++ b/requirements/debug.txt @@ -1,4 +1,2 @@ # NOTE: the upper bound for the package version is only set for CI stability, and it is dropped while installing this package # in case you want to preserve/enforce restrictions on the latest compatible version, add "strict" as an in-line comment - -pretty-errors >=1.2.0, <1.3.0 diff --git a/src/torchmetrics/__init__.py b/src/torchmetrics/__init__.py index c1bff7ca459..b1549dfaf8b 100644 --- a/src/torchmetrics/__init__.py +++ b/src/torchmetrics/__init__.py @@ -14,9 +14,6 @@ _PACKAGE_ROOT = os.path.dirname(__file__) _PROJECT_ROOT = os.path.dirname(_PACKAGE_ROOT) -if package_available("pretty_errors"): - import pretty_errors # noqa: F401 - if package_available("PIL"): import PIL