Skip to content

Commit cca3840

Browse files
committed
Tests fixed
1 parent aabb31a commit cca3840

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pytorch_lightning/loggers/neptune.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,11 @@ def __init__(
266266
prefix: str = "training",
267267
**neptune_run_kwargs,
268268
):
269+
if neptune is None:
270+
raise ModuleNotFoundError(
271+
"You want to use the `Neptune` logger which is not installed yet, install it with"
272+
" `pip install neptune-client`."
273+
)
269274

270275
# verify if user passed proper init arguments
271276
self._verify_input_arguments(api_key, project, name, run, neptune_run_kwargs)

0 commit comments

Comments
 (0)