Skip to content

Commit 1c5df61

Browse files
committed
utils/deps: always show missing deps
When first trying out paddlex, it can be hard to figure out how to increase the logging verbosity. If there are missing dependencies and this raises an error, seeing the exact list is helpful either way.
1 parent afd45f4 commit 1c5df61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddlex/utils/deps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def is_extra_available(extra):
180180
flags = [is_dep_available(dep) for dep in EXTRAS[extra]]
181181
if all(flags):
182182
return True
183-
logging.debug(
183+
logging.error(
184184
"These dependencies are not available: %s",
185185
[d for d, f in zip(EXTRAS[extra], flags) if not f],
186186
)

0 commit comments

Comments
 (0)