Commit 13aa1741 authored by Lysandre's avatar Lysandre
Browse files

uninstalled wandb raises AttributeError

parent 6e603cb7
......@@ -69,7 +69,7 @@ try:
wandb.termwarn("W&B installed but not logged in. Run `wandb login` or set the WANDB_API_KEY env variable.")
else:
_has_wandb = False if os.getenv("WANDB_DISABLED") else True
except ImportError:
except (ImportError, AttributeError):
_has_wandb = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment